Thomas Mueller created OAK-12146:
------------------------------------

             Summary: Use the latest elastic OR lucene index, if there are 
multiple versions
                 Key: OAK-12146
                 URL: https://issues.apache.org/jira/browse/OAK-12146
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: query
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


I found that if there are multiple versions of the same index, and some of type 
elastic and some of type lucene, then either the lucene OR the latest elastic 
index can be used. Eg.

* asset-14 (type lucene)
* asset-14-custom-1 (type lucene)
* asset-14-custom-2 (type elastic)

Oak might use the custom-1 or custom-2 indexes, and sometimes different ones 
depending on the query.

Only the latest version should be used.



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

Reply via email to