You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And finally, in this line(make-instance 'sort :sort sort) should read (make-instance 'sort :fields sort)
Another minor improvements would be to either export the sort class or the reverse-p option and reversing the order of the string comparators, so the documents are ordered from a to z by default (without needing to explicitly pass :reverse-p t).
Anyway, changing those 3 lines enables field sorting, like
Field sorting is not working at all.
I propose 3 changes:
First, this line is wrong. Should read
(doc hit)
instead of(doc hit1)
Next, this line should be totally removed.
And finally, in this line
(make-instance 'sort :sort sort)
should read(make-instance 'sort :fields sort)
Another minor improvements would be to either export the
sort
class or thereverse-p
option and reversing the order of the string comparators, so the documents are ordered from a to z by default (without needing to explicitly pass :reverse-p t).Anyway, changing those 3 lines enables field sorting, like
Thanks for mantaining Montezuma :)
The text was updated successfully, but these errors were encountered: