git.iko.soy/typeable/bloodhound
on master help sign in
alignment
6ad6da6Chris Allen
Database/Bloodhound/Types/Instances.hs+2−2
@@ -153,8 +153,8 @@ mField field = fmap ((field .=) . toJSON)
153
153
154instance ToJSON BoostingQuery where
154instance ToJSON BoostingQuery where
155 toJSON (BoostingQuery positiveQuery negativeQuery negativeBoost) =
155 toJSON (BoostingQuery positiveQuery negativeQuery negativeBoost) =
156− object [ "positive" .= toJSON positiveQuery
156+ object [ "positive" .= toJSON positiveQuery
157− , "negative" .= toJSON negativeQuery
157+ , "negative" .= toJSON negativeQuery
158 , "negative_boost" .= toJSON negativeBoost ]
158 , "negative_boost" .= toJSON negativeBoost ]
159
159
160
160