Filters and Queries that add to core Lucene.
Class Summary Class Description BooleanFilterA container Filter that allows Boolean composition of Filters. BoostingQueryThe BoostingQuery class can be used to effectively demote results that match a given query. ChainedFilterAllows multiple
Filters to be chained.
CommonTermsQueryA query that executes high-frequency terms in a optional sub-query to prevent slow queries due to "common" terms like stopwords. CustomScoreProviderAn instance of this subclass should be returned by
CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.AtomicReaderContext), if you want to modify the custom score calculation of a
CustomScoreQueryQuery that sets document score as a programmatic function of several (sub) scores: the score of its subQuery (any query) (optional) the score of its
FunctionQuery(or queries). Subclasses can modify the computation by overriding
FilterClauseA Filter that wrapped with an indication of how that filter is used when composed with another filter. TermFilterA filter that includes documents that match with a specific term. TermsFilterConstructs a filter for docs matching any of the terms added to this class.