Class ConstantScoreQuery

A query that wraps another query or a filter and simply returns a constant score equal to the
query boost for every document that matches the filter or query.
For queries it therefore simply strips of all scores and returns a constant one.

ConstantScoreQuery

Wraps a Filter as a Query. The hits will get a constant score
dependent on the boost factor of this query.
If you simply want to strip off scores from a Query, no longer use
new ConstantScoreQuery(new QueryWrapperFilter(query)), instead
use ConstantScoreQuery(Query)!