Make score nullable

This resolves #30
This commit is contained in:
Michael Xavier 2015-05-13 16:37:46 -07:00
parent 3939fc6ae1
commit 3bef0d9913

View File

@ -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