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 "Fabrizio Fortino (Jira)" <ji...@apache.org> on 2025/03/28 12:55:00 UTC

[jira] [Resolved] (OAK-11594) Converting existing indexes from a type to another leaves the async lane the same

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

Fabrizio Fortino resolved OAK-11594.
------------------------------------
    Fix Version/s: 1.78.0
       Resolution: Fixed

> 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
>             Fix For: 1.78.0
>
>
> 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)