Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
A lot of query tests flush the search index before to ensure consistency.
Getting the SearchIndex instance happens via casting the QueryManager to the jackrabbit QueryManagerImpl:
((QueryManagerImpl) qm)
I'd like to change this direct casting into a instanceof verification.
This doesn't fix everything but at least it will allow other projects (like oak) to run most of the query tests, without running into ClassCastException(s).