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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2014/03/10 09:16:46 UTC

[jira] [Created] (OAK-1520) Native pass-through queries combined with other conditions might not work

Thomas Mueller created OAK-1520:
-----------------------------------

             Summary: Native pass-through queries combined with other conditions might not work
                 Key: OAK-1520
                 URL: https://issues.apache.org/jira/browse/OAK-1520
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: query
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


Native pass-through queries as defined in OAK-1325 might not work correctly (depending on the cost of the index implementation) if the native condition is combined with other (for example property-) conditions.

The problem is that indexes that are not applicable (property indexes and the traversing index) don't check if there is a native condition, and therefore might return a lower cost than the appropriate (Solr or Lucene) index.

Currently this might not be a problem, because the Solr index returns a low cost for native queries. However, in the future this might no longer be the case once the cost function of the Solr index is changed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)