[
https://issues.apache.org/jira/browse/JCR-5151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953420#comment-17953420
]
Federico Grilli edited comment on JCR-5151 at 5/27/25 1:59 PM:
---------------------------------------------------------------
I created a patch against branch 2.20, trying to preserve binary compatibility.
Current tests seem to be fine.
was (Author: fgrilli):
I created a patch against branch 2.20, trying to preserve binary compatibility.
Current tests seems to be fine.
> Allow custom ConsistencyCheck in SearchIndex of repository configuration
> ------------------------------------------------------------------------
>
> Key: JCR-5151
> URL: https://issues.apache.org/jira/browse/JCR-5151
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Affects Versions: 2.20.16, 2.22.0
> Reporter: Federico Grilli
> Priority: Major
> Attachments: JCR-5151_Provide_an_interface_for_ConsistencyCheck.patch
>
>
>
> In our application we would need to extend the default JR ConsistencyCheck in
> order to apply some custom logic. Unfortunately this is not possible at the
> moment.
> It would be great to be able to define a custom ConsistencyCheck simply by
> declaring it in a repo config, e.g.
> {code:java}
> <SearchIndex class="foo.bar.MySearchIndex">
> [...]
> <param name="consistencyCheckClass" value="foo.bar.MyConsistencyCheck" />
> </SearchIndex>{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)