Uses of Class
org.apache.lucene.search.BooleanQuery
-
Packages that use BooleanQuery Package Description org.apache.lucene.monitor Monitoring frameworkorg.apache.lucene.queryparser.complexPhrase QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"org.apache.lucene.queryparser.flexible.standard.builders Standard Lucene Query Node Builders.org.apache.lucene.queryparser.simple A simple query parser for human-entered queries.org.apache.lucene.search Code to search indices.org.apache.lucene.search.suggest Support for Autocomplete/Autosuggestorg.apache.lucene.search.suggest.analyzing Analyzer based autosuggest.org.apache.lucene.util Some utility classes. -
-
Uses of BooleanQuery in org.apache.lucene.monitor
Methods in org.apache.lucene.monitor with parameters of type BooleanQuery Modifier and Type Method Description java.util.Set<Query>QueryDecomposer. decomposeBoolean(BooleanQuery q)Decompose aBooleanQuery -
Uses of BooleanQuery in org.apache.lucene.queryparser.complexPhrase
Methods in org.apache.lucene.queryparser.complexPhrase that return BooleanQuery Modifier and Type Method Description private BooleanQueryComplexPhraseQueryParser.ComplexPhraseQuery. convert(SynonymQuery qc)Methods in org.apache.lucene.queryparser.complexPhrase with parameters of type BooleanQuery Modifier and Type Method Description private voidComplexPhraseQueryParser.ComplexPhraseQuery. addComplexPhraseClause(java.util.List<SpanQuery> spanClauses, BooleanQuery qc) -
Uses of BooleanQuery in org.apache.lucene.queryparser.flexible.standard.builders
Methods in org.apache.lucene.queryparser.flexible.standard.builders that return BooleanQuery Modifier and Type Method Description BooleanQueryAnyQueryNodeBuilder. build(QueryNode queryNode)BooleanQueryBooleanQueryNodeBuilder. build(QueryNode queryNode) -
Uses of BooleanQuery in org.apache.lucene.queryparser.simple
Methods in org.apache.lucene.queryparser.simple that return BooleanQuery Modifier and Type Method Description private static BooleanQuerySimpleQueryParser. addClause(BooleanQuery bq, Query query, BooleanClause.Occur occur)Methods in org.apache.lucene.queryparser.simple with parameters of type BooleanQuery Modifier and Type Method Description private static BooleanQuerySimpleQueryParser. addClause(BooleanQuery bq, Query query, BooleanClause.Occur occur)protected QuerySimpleQueryParser. simplify(BooleanQuery bq)Helper to simplify boolean queries with 0 or 1 clause -
Uses of BooleanQuery in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BooleanQuery Modifier and Type Field Description (package private) BooleanQueryBooleanWeight. queryMethods in org.apache.lucene.search that return BooleanQuery Modifier and Type Method Description BooleanQueryBooleanQuery.Builder. build()Create a newBooleanQuerybased on the parameters that have been set on this builder.private BooleanQueryBooleanQuery. rewriteNoScoring()private BooleanQueryBM25FQuery. rewriteToBoolean()Methods in org.apache.lucene.search with parameters of type BooleanQuery Modifier and Type Method Description private booleanBooleanQuery. equalsTo(BooleanQuery other)Constructors in org.apache.lucene.search with parameters of type BooleanQuery Constructor Description BooleanWeight(BooleanQuery query, IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of BooleanQuery in org.apache.lucene.search.suggest
Methods in org.apache.lucene.search.suggest with parameters of type BooleanQuery Modifier and Type Method Description java.util.List<Lookup.LookupResult>Lookup. lookup(java.lang.CharSequence key, BooleanQuery contextFilerQuery, int num, boolean allTermsRequired, boolean doHighlight)Look up a key and return possible completion for this key. -
Uses of BooleanQuery in org.apache.lucene.search.suggest.analyzing
Methods in org.apache.lucene.search.suggest.analyzing that return BooleanQuery Modifier and Type Method Description private BooleanQueryAnalyzingInfixSuggester. toQuery(java.util.Map<BytesRef,BooleanClause.Occur> contextInfo)private BooleanQueryAnalyzingInfixSuggester. toQuery(java.util.Set<BytesRef> contextInfo)Methods in org.apache.lucene.search.suggest.analyzing with parameters of type BooleanQuery Modifier and Type Method Description java.util.List<Lookup.LookupResult>AnalyzingInfixSuggester. lookup(java.lang.CharSequence key, BooleanQuery contextQuery, int num, boolean allTermsRequired, boolean doHighlight)This is an advanced method providing the capability to send down to the suggester any arbitrary lucene query to be used to filter the result of the suggesterjava.util.List<Lookup.LookupResult>BlendedInfixSuggester. lookup(java.lang.CharSequence key, BooleanQuery contextQuery, int num, boolean allTermsRequired, boolean doHighlight) -
Uses of BooleanQuery in org.apache.lucene.util
Methods in org.apache.lucene.util that return BooleanQuery Modifier and Type Method Description private BooleanQueryQueryBuilder. addMinShouldMatchToBoolean(BooleanQuery query, float fraction)Rebuilds a boolean query and sets a new minimum number should match value.Methods in org.apache.lucene.util with parameters of type BooleanQuery Modifier and Type Method Description private BooleanQueryQueryBuilder. addMinShouldMatchToBoolean(BooleanQuery query, float fraction)Rebuilds a boolean query and sets a new minimum number should match value.
-