mirror of
https://github.com/typeable/bloodhound.git
synced 2024-11-29 23:52:20 +03:00
note about tie-breakers
This commit is contained in:
parent
ce3e658fd0
commit
e7015faa03
@ -306,6 +306,7 @@ let sortSpec = DefaultSortSpec $ mkSort (FieldName "age") Ascending
|
||||
-- -> TrackSortScores
|
||||
-- -> From -> Size
|
||||
|
||||
-- just add more sortspecs to the list if you want tie-breakers.
|
||||
let search = Search Nothing (Just IdentityFilter) (Just [sortSpec]) False 0 10
|
||||
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user