git.iko.soy/typeable/bloodhound
on master help sign in
alignment
commit6ad6da6e06c2c73a84c73fe380534061e3c08d56 authorChris Allen <cma@bitemyapp.com> dateSun 27 Apr 2014, 07:47 (12 years ago) parent6acb114
1 file changed+2−2
Database/Bloodhound/Types/Instances.hs+2−2
Database/Bloodhound/Types/Instances.hs+2−2
@@ -153,8 +153,8 @@ mField field = fmap ((field .=) . toJSON)
153153
154154instance ToJSON BoostingQuery where
155155 toJSON (BoostingQuery positiveQuery negativeQuery negativeBoost) =
156− object [ "positive" .= toJSON positiveQuery
157− , "negative" .= toJSON negativeQuery
156+ object [ "positive" .= toJSON positiveQuery
157+ , "negative" .= toJSON negativeQuery
158158 , "negative_boost" .= toJSON negativeBoost ]
159159
160160