henrykuijpers commented on PR #20: URL: https://github.com/apache/sling-org-apache-sling-testing-sling-mock-oak/pull/20#issuecomment-7102232007
Thanks for raising this! The class path check is now done only once per JVM (0ee8282), so the detection itself is negligible. When oak-lucene is **not** on the class path, `LuceneIndexSupport.register()` is not called, so no Lucene classes are loaded and no index provider/editor is registered. The only thing that's added in that case is a lightweight `LuceneIndexMissingWarning` editor. It walks the changed nodes of a commit to find `oak:index` definitions of type `lucene`, and logs a warning once per index path so users understand why their full-text queries return nothing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
