Merge branch '30-score-nullable' into 31-search-hits-monoid
commitcc48d4334cdcdc4bdfd492307c85ca453f70acfd
authorMichael Xavier <michael@michaelxavier.net>
dateWed 13 May 2015, 18:21 (11 years ago)
parent7f237c43bef0d9
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