git.iko.soy/typeable/bloodhound
on master help sign in
note about tie-breakers
e7015faChris Allen
README.org+1
@@ -306,6 +306,7 @@ let sortSpec = DefaultSortSpec $ mkSort (FieldName "age") Ascending
306-- -> TrackSortScores
306-- -> TrackSortScores
307-- -> From -> Size
307-- -> From -> Size
308
308
309+-- just add more sortspecs to the list if you want tie-breakers.
309let search = Search Nothing (Just IdentityFilter) (Just [sortSpec]) False 0 10
310let search = Search Nothing (Just IdentityFilter) (Just [sortSpec]) False 0 10
310
311
311#+END_SRC
312#+END_SRC