rnewson commented on PR #5021: URL: https://github.com/apache/couchdb/pull/5021#issuecomment-2042710242
note I added a new field comparator source for the niche case where one shard range hasn't yet indexed a document with a given field and then is asked to sort on that field. the sort value of all documents for such a field is defined as null, which sorts first in the nouveau results because that's how couch_ejson_compare is defined. This can trigger if your index function doesn't always index a value for the field you wish to sort on or you have so few documents in your index that one or more shard ranges have not yet indexed anything. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
