tonysun83 commented on issue #1783: fix empty queries
URL: https://github.com/apache/couchdb/pull/1783#issuecomment-453413816
 
 
   @willholley : Your additional testing suggestion revealed a conflicting 
issue with special/view indexes vs text indexes.
   
   ```
   {"$or": []} 
   {"$all": []} 
   {"$in": []} 
   {"$and": []} 
   ```
   
   Special/View - We do a full range scan, then filter.
   Text Index - The current implementation doesn't execute the query. 
   
   I think the solution is to make special/view indexes ignore the query(not 
execute the fabric call)  as well. But it get's a little ugly as the _explain 
endpoint needs to reflect this as well. 
   
   cc @michaelbreslin 
   
   

----------------------------------------------------------------
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

Reply via email to