tonysun83 commented on issue #1376: Add fields to sort based on selector URL: https://github.com/apache/couchdb/pull/1376#issuecomment-398294475 I ran the text index tests and they all pass. So with text indexes, we have to sort with a data type. This means we won't conflict with text and json index sorts when fields are explicitly specified. However, one scenario that I tried out is if we have a index all text index and we do a sort such as: ``` { "selector": {"a":0, "b": {"$gt": 10}}, "sort": ["b"] } ``` In the old code, the index all index would be chosen. In the new code, it's possible we choose a json index instead. I tried this out with one json index and one index all index. The json index gets chosen since it's given higher priority. Are we okay with this?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
