You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2018/10/18 11:55:00 UTC

[jira] [Created] (OAK-7850) Indexes that don't support facets being queried should not participate in execution plan

Vikas Saurabh created OAK-7850:
----------------------------------

             Summary: Indexes that don't support facets being queried should not participate in execution plan
                 Key: OAK-7850
                 URL: https://issues.apache.org/jira/browse/OAK-7850
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: lucene
            Reporter: Vikas Saurabh
            Assignee: Vikas Saurabh


Currently we can have a case where a query with facets can be answered by an index which can resolve all the constraints but don't have facets configured. At times this index might even win the cost war even if there could be an alternative index which might report to be more expensive but can answer the facets.

While it's not a good practice to have competing indexes, but index selection could have been smarter anyway.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)