albertogpz commented on pull request #6200: URL: https://github.com/apache/geode/pull/6200#issuecomment-808435119
> I'm not a query expert, so I don't understand what the reasoning is behind map indexes no longer being used for queries using `!=`. Would it be possible to get an explanation of the motivation behind this change? With the current implementation, map indexes are used (if defined) in queries that have a condition using "!=" against a value in the map field indexed. The problem is that these queries offer different outcome if the index is defined vs when the index is not defined. In this PR I have made the queries offer the same output no matter if the index is defined or not but at the expense of not using the index if the condition is "!=" when the index is defined. I have not been able to come up with a solution without losing this "feature". That's the reason behind "map indexes no longer being used for queries using `!=`." -- 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. For queries about this service, please contact Infrastructure at: [email protected]
