tonysun83 commented on issue #1783: fix empty queries URL: https://github.com/apache/couchdb/pull/1783#issuecomment-455608211 @willholley : It doesn't generate an error and will be an improvement. My only concern is that it will break existing functionality. I have a test suite for that so that shouldn't be a problem. The issue I'm currently running into is getting all 3 to produce the same result. Ex: ``` 1) {"age": 22, "$or": []} 2) {"$or": []} ``` produce different results in json, _all_docs, and text depending on where part of the code is implemented. The correct solution should be IMO should be 1) We get all documents back where the age is 22 2) We get 0 documents back. for all 3 index types. I'm debugging why it's currently not the case
---------------------------------------------------------------- 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
