git.iko.soy/typeable/bloodhound
on master help sign in
Merge pull request #33 from bitemyapp/30-score-nullable

make score nullable

commit2727e0e6142c3006c784f110e7699d8ef7d4b8bc authorChris Allen <cma@bitemyapp.com> dateWed 13 May 2015, 19:56 (11 years ago) parent3939fc63bef0d9
1 file changed+1−1
src/Database/Bloodhound/Types.hs+1−1
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