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:32:43 UTC
[jira] [Resolved] (OAK-1520) Native pass-through queries combined
with other conditions might not work
[ https://issues.apache.org/jira/browse/OAK-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller resolved OAK-1520.
---------------------------------
Resolution: Fixed
Revision 1575869
> 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
> Fix For: 0.19
>
>
> 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)