Make score nullable
This resolves #30
commit3bef0d9913e0bcc9b6d534d9054bb9ba451590b7
authorMichael Xavier <michael@michaelxavier.net>
dateWed 13 May 2015, 16:37 (11 years ago)
parent3939fc6
src/Database/Bloodhound/Types.hs+1−1
@@ -1118,7 +1118,7 @@ data SearchResult a =
11181118 , searchHits :: SearchHits a
11191119 , aggregations :: Maybe AggregationResults } deriving (Eq, Show)
11201120
1121−type Score = Double
1121+type Score = Maybe Double
11221122
11231123data SearchHits a =
11241124 SearchHits { hitsTotal :: Int