This repository was archived by the owner on May 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
Sorting always results in NullPointerException #248
Comments
Nobody has problems with sorting? Kinda stuck here.. |
You'll need to sort on a numeric field or an untokenized field, that's a Lucene restriction. |
Ok, like we were talking about via Slack. Adding
As you mentioned, a fix is underway. |
+1 for this. Trying to sort via Javascript date object (e.g. createdAt: 2018-02-01T14:26:47.668Z) and cannot get it to work. Either Error 500 without the bit, or no results with the string bit. Followed exactly the same process as @rvanzon |
@carrotalan could you open a new issue with details please? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am trying to sort the results of my query, but it always results in a
{ code: 500 }
in the browser, couchdb-lucene outputs:I tried several indexes, from:
to
I am calling the latter with:
any ideas?
The text was updated successfully, but these errors were encountered: