Package org.apache.lucene.queries
package org.apache.lucene.queries
Filters and Queries that add to core Lucene.
-
ClassesClassDescriptionA container Filter that allows Boolean composition of Filters.The BoostingQuery class can be used to effectively demote results that match a given query.Allows multiple
Filters to be chained.A query that executes high-frequency terms in a optional sub-query to prevent slow queries due to "common" terms like stopwords.An instance of this subclass should be returned byCustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.AtomicReaderContext), if you want to modify the custom score calculation of aCustomScoreQuery.Query that sets document score as a programmatic function of several (sub) scores: the score of its subQuery (any query) (optional) the score of itsFunctionQuery(or queries). Subclasses can modify the computation by overridingCustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.AtomicReaderContext).A Filter that wrapped with an indication of how that filter is used when composed with another filter.A filter that includes documents that match with a specific term.Constructs a filter for docs matching any of the terms added to this class.