[ 
https://issues.apache.org/jira/browse/OAK-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191426#comment-14191426
 ] 

Chetan Mehrotra commented on OAK-2205:
--------------------------------------

Merged the change in trunk to branch 1.0 with http://svn.apache.org/r1635677

The feature would not work with LucenePropertyIndex due to OAK-2241

> 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: Sub-task
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.0.8, 1.2
>
>
> 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)

Reply via email to