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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/12/11 07:37:12 UTC
[jira] [Resolved] (OAK-2205) Allow native query to be run against
specifc property index
[ https://issues.apache.org/jira/browse/OAK-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-2205.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.2)
1.1.4
> Allow native query to be run against specifc property index
> -----------------------------------------------------------
>
> Key: OAK-2205
> URL: https://issues.apache.org/jira/browse/OAK-2205
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: oak-lucene
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.0.9, 1.1.4
>
>
> With support for multiple Lucene indexes its not possible to allow a native query to pickup specific Lucene index
> bq. select [jcr:path] from [nt:base] where native('lucene', 'name:(Hello OR World)')
> To support running this query against a specific Lucene property index 'foo' we can encode the index name in function name
> bq. select [jcr:path] from [nt:base] where native('foo', 'name:(Hello OR World)')
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)