Nitin Gupta created OAK-9465:
--------------------------------
Summary: [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
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)