From 3bef0d9913e0bcc9b6d534d9054bb9ba451590b7 Mon Sep 17 00:00:00 2001 From: Michael Xavier Date: Wed, 13 May 2015 16:37:46 -0700 Subject: [PATCH] Make score nullable This resolves #30 --- src/Database/Bloodhound/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Bloodhound/Types.hs b/src/Database/Bloodhound/Types.hs index c208cb8..59f8246 100644 --- a/src/Database/Bloodhound/Types.hs +++ b/src/Database/Bloodhound/Types.hs @@ -1118,7 +1118,7 @@ data SearchResult a = , searchHits :: SearchHits a , aggregations :: Maybe AggregationResults } deriving (Eq, Show) -type Score = Double +type Score = Maybe Double data SearchHits a = SearchHits { hitsTotal :: Int