[
https://issues.apache.org/jira/browse/OAK-11594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabrizio Fortino reassigned OAK-11594:
--------------------------------------
Assignee: Fabrizio Fortino (was: Paul Chibulcuteanu)
> Converting existing indexes from a type to another leaves the async lane the
> same
> ---------------------------------------------------------------------------------
>
> Key: OAK-11594
> URL: https://issues.apache.org/jira/browse/OAK-11594
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: indexing
> Affects Versions: 1.76.0
> Reporter: Paul Chibulcuteanu
> Assignee: Fabrizio Fortino
> Priority: Major
>
> When applying an index definition to an existing _/oak:index/fooIndex_ using
> the IndexImporter, an index definition that changes the type and the async
> property (lane), the resulting index doesn't change the async property - it
> changes only the type
> Existing index:
> {code}
> {
> "fooIndex":{
> "jcr:primaryType":"oak:QueryIndexDefinition",
> "async":[
> "async",
> "nrt"
> ],
> "type":"lucene",
> }
> }
> {code}
> Applied index definition
> {code}
> {
> "fooIndex":{
> "jcr:primaryType":"oak:QueryIndexDefinition",
> "async":[
> "elastic-async"
> ],
> "type":"elasticsearch",
> }
> }
> {code}
> Resulting index definition is:
> {code}
> {
> "fooIndex":{
> "jcr:primaryType":"oak:QueryIndexDefinition",
> "async":[
> "async",
> "nrt"
> ],
> "type":"elasticsearch",
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)