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 "Konrad Windszus (Jira)" <ji...@apache.org> on 2026/06/11 15:29:00 UTC
[jira] [Comment Edited] (OAK-12010) Simplified index management
[ https://issues.apache.org/jira/browse/OAK-12010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088290#comment-18088290 ]
Konrad Windszus edited comment on OAK-12010 at 6/11/26 3:28 PM:
----------------------------------------------------------------
[~thomasm] Can you clarify the term OOTB (product) index (in https://jackrabbit.apache.org/oak/docs/query/indexing.html#customizing-ootb-and-fully-custom-indexes) in the context of JR Oak only? Probably referring to https://jackrabbit.apache.org/oak/docs/query/lucene.html#effective-index-definition would make sense. WDYT?
was (Author: kwin):
[~thomasm] Can you clarify the term OOTB (product) index (in https://jackrabbit.apache.org/oak/docs/query/indexing.html#customizing-ootb-and-fully-custom-indexes) in the context of JR Oak only?
> Simplified index management
> ---------------------------
>
> Key: OAK-12010
> URL: https://issues.apache.org/jira/browse/OAK-12010
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Major
> Fix For: 1.92.0
>
>
> Currently, Oak indexes are defined using JCR nodes. There are a few known issues with the current configuration:
> * Index definitions can be changed while they are being used.
> * For Lucene indexes, there are two versions of the index definition: the one visible and in the one used for queries (the so-called "stored" definition). Only setting "reindex" or "refresh" to true updates the stored one.
> * There can be multiple sources for index definitions: (a) so-called "product" indexes, (b) customizations, and (c) changes via UI or automation. All these sources can be changed independently. It would be good to merge the changes if one of them changes.
> * Index definitions are JCR nodes, making it hard to change. Using JSON config files would simplify changes (one JSON file per index, or even one JSON file for multiple indexes).
> * Index definitions are mutable. It would be better if they are effectively immutable, by using versions.
> I'm proposing to retain the current index configuration, but to add a way to customize indexes via JSON. So that the current configurations are fully backward compatible, but we use a new, additional way to configure indexes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)