[ 
https://issues.apache.org/jira/browse/OAK-10985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nitin Gupta reassigned OAK-10985:
---------------------------------

    Assignee: Nitin Gupta

> Index defintion with a property rule having valueExcludedPrefixes not getting 
> considered for like condition on that property
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-10985
>                 URL: https://issues.apache.org/jira/browse/OAK-10985
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Nitin Gupta
>            Assignee: Nitin Gupta
>            Priority: Major
>
> Problems seems to be due to the fix for 
> https://issues.apache.org/jira/browse/OAK-9481 
>  
> Consider an index definition 
> testIndex {
> .
> .
> .
> "properties": {
> "jcr:primaryType": "nt:unstructured",
> "foo": {
> "propertyIndex": true,
> "jcr:primaryType": "nt:unstructured"
> },
> "bar": {
> "propertyIndex": true,
> "jcr:primaryType": "nt:unstructured",
> "valueExcludePrefixes": ["temp"]
> }
> }
> }
> }
>  
>  
> A query like 
> select * from [nt:base] AS [a] where [a].[foo] like 'xyz%')  
> picks up testIndex
> but 
> {code:java}
> select * from [nt:base] AS [a] where [a].[bar] like 'xyz%') {code}
>  
> doesn't. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to