Remove deprecated usages of Lucene BooleanQuery constructor and methods to simplify future Lucene upgrade. Deprecated methods have been deleted in a newer version of Lucene.
Also, correct PrefixQuery.setBoost usage -> migrate to BoostQuery and fix tests results (boost parameter was ignored in PrefixQuery) and replace FilteredQuery with PrefixQuery see: FilteredQuery Javadoc
Selected changes with enhancements from sopotc PR to upgrade to Lucene 6.1/7
- is required by
MINDEXER-104 Migrate the indexer to Lucene 8.x
- links to