[ https://issues.apache.org/jira/browse/JCR-5151 ]
Federico Grilli deleted comment on JCR-5151: -------------------------------------- was (Author: fgrilli): I submitted a patch created against 2.20 branch trying to keep binary compatibility, of course. It seems to be working fine, i.e. current unit tests pass, as well as local manual testing with a running instance of my webapp. > 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 > > > 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)