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 2025/04/01 12:07:00 UTC

[jira] [Updated] (OAK-10985) Index definition with a property rule having valueExcludedPrefixes not getting considered for like condition on that property

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

Thomas Mueller updated OAK-10985:
---------------------------------
    Summary: Index definition with a property rule having valueExcludedPrefixes not getting considered for like condition on that property  (was: Index definution with a property rule having valueExcludedPrefixes not getting considered for like condition on that property)

> Index definition 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
>          Components: core, lucene
>            Reporter: Nitin Gupta
>            Assignee: Nitin Gupta
>            Priority: Major
>             Fix For: 1.22.21, 1.68.0
>
>
> 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)