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 "Nitin Gupta (Jira)" <ji...@apache.org> on 2021/06/30 09:46:00 UTC

[jira] [Resolved] (OAK-9465) [Index Management] Versioned elastic index will get ignored during query execution

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

Nitin Gupta resolved OAK-9465.
------------------------------
    Fix Version/s: 1.42.0
       Resolution: Fixed

> [Index Management] Versioned elastic index will get ignored during query execution
> ----------------------------------------------------------------------------------
>
>                 Key: OAK-9465
>                 URL: https://issues.apache.org/jira/browse/OAK-9465
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Nitin Gupta
>            Assignee: Nitin Gupta
>            Priority: Critical
>             Fix For: 1.42.0
>
>
> Any elastic index definition with versioned name (elasticTest-1 or elasticTest-1-custom-2 etc) 
> will be ignored during query evaluation.
> [https://github.com/apache/jackrabbit-oak/blob/trunk/oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/spi/query/IndexName.java]If the indexname is versioned, it will check if the index is active or not
> // An index is active if it has a hidden child node that starts with ":oak:mount-",
> // OR if it is an active merged index (have merged property)
> both of the above properties are not present on elastic indexes, so any elastic index with name elasticTest-1 will get ignored.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)