Uses of Class
org.apache.lucene.search.BooleanClause.Occur
-
Packages that use BooleanClause.Occur Package Description org.apache.lucene.monitor Monitoring frameworkorg.apache.lucene.queries Filters and Queries that add to core Lucene.org.apache.lucene.queryparser.classic A simple query parser implemented with JavaCC.org.apache.lucene.queryparser.flexible.standard Implementation of the Lucene classic query parser using the flexible query parser frameworksorg.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.queryparser.surround.query This package contains SrndQuery and its subclasses.org.apache.lucene.queryparser.xml.builders XML Parser factories for different Lucene Query/Filters.org.apache.lucene.search Code to search indices.org.apache.lucene.search.highlight Highlighting search terms.org.apache.lucene.search.suggest.analyzing Analyzer based autosuggest.org.apache.lucene.search.uhighlight The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.org.apache.lucene.util Some utility classes. -
-
Uses of BooleanClause.Occur in org.apache.lucene.monitor
Methods in org.apache.lucene.monitor with parameters of type BooleanClause.Occur Modifier and Type Method Description QueryVisitorQueryAnalyzer.QueryBuilder. getSubVisitor(BooleanClause.Occur occur, Query parent) -
Uses of BooleanClause.Occur in org.apache.lucene.queries
Fields in org.apache.lucene.queries declared as BooleanClause.Occur Modifier and Type Field Description protected BooleanClause.OccurCommonTermsQuery. highFreqOccurprotected BooleanClause.OccurCommonTermsQuery. lowFreqOccurMethods in org.apache.lucene.queries that return BooleanClause.Occur Modifier and Type Method Description BooleanClause.OccurCommonTermsQuery. getHighFreqOccur()Gets theBooleanClause.Occurused for high frequency terms.BooleanClause.OccurCommonTermsQuery. getLowFreqOccur()Gets theBooleanClause.Occurused for low frequency terms.Constructors in org.apache.lucene.queries with parameters of type BooleanClause.Occur Constructor Description CommonTermsQuery(BooleanClause.Occur highFreqOccur, BooleanClause.Occur lowFreqOccur, float maxTermFrequency)Creates a newCommonTermsQuery -
Uses of BooleanClause.Occur in org.apache.lucene.queryparser.classic
Methods in org.apache.lucene.queryparser.classic with parameters of type BooleanClause.Occur Modifier and Type Method Description protected BooleanClauseQueryParserBase. newBooleanClause(Query q, BooleanClause.Occur occur)Builds a new BooleanClause instancestatic QueryMultiFieldQueryParser. parse(java.lang.String[] queries, java.lang.String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified.static QueryMultiFieldQueryParser. parse(java.lang.String query, java.lang.String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified. -
Uses of BooleanClause.Occur in org.apache.lucene.queryparser.flexible.standard
Methods in org.apache.lucene.queryparser.flexible.standard with parameters of type BooleanClause.Occur Modifier and Type Method Description static QueryQueryParserUtil. parse(java.lang.String[] queries, java.lang.String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified.static QueryQueryParserUtil. parse(java.lang.String query, java.lang.String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified. -
Uses of BooleanClause.Occur in org.apache.lucene.queryparser.flexible.standard.builders
Methods in org.apache.lucene.queryparser.flexible.standard.builders that return BooleanClause.Occur Modifier and Type Method Description private static BooleanClause.OccurBooleanQueryNodeBuilder. getModifierValue(QueryNode node) -
Uses of BooleanClause.Occur in org.apache.lucene.queryparser.simple
Fields in org.apache.lucene.queryparser.simple declared as BooleanClause.Occur Modifier and Type Field Description (package private) BooleanClause.OccurSimpleQueryParser.State. currentOperationprivate BooleanClause.OccurSimpleQueryParser. defaultOperator(package private) BooleanClause.OccurSimpleQueryParser.State. previousOperationMethods in org.apache.lucene.queryparser.simple that return BooleanClause.Occur Modifier and Type Method Description BooleanClause.OccurSimpleQueryParser. getDefaultOperator()Returns the implicit operator setting, which will be eitherSHOULDorMUST.Methods in org.apache.lucene.queryparser.simple with parameters of type BooleanClause.Occur Modifier and Type Method Description private static BooleanQuerySimpleQueryParser. addClause(BooleanQuery bq, Query query, BooleanClause.Occur occur)voidSimpleQueryParser. setDefaultOperator(BooleanClause.Occur operator)Sets the implicit operator setting, which must be eitherSHOULDorMUST. -
Uses of BooleanClause.Occur in org.apache.lucene.queryparser.surround.query
Methods in org.apache.lucene.queryparser.surround.query with parameters of type BooleanClause.Occur Modifier and Type Method Description static voidSrndBooleanQuery. addQueriesToBoolean(BooleanQuery.Builder bq, java.util.List<Query> queries, BooleanClause.Occur occur)static QuerySrndBooleanQuery. makeBooleanQuery(java.util.List<Query> queries, BooleanClause.Occur occur) -
Uses of BooleanClause.Occur in org.apache.lucene.queryparser.xml.builders
Methods in org.apache.lucene.queryparser.xml.builders that return BooleanClause.Occur Modifier and Type Method Description (package private) static BooleanClause.OccurBooleanQueryBuilder. getOccursValue(org.w3c.dom.Element clauseElem) -
Uses of BooleanClause.Occur in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BooleanClause.Occur Modifier and Type Field Description private BooleanClause.OccurBooleanClause. occurFields in org.apache.lucene.search with type parameters of type BooleanClause.Occur Modifier and Type Field Description private java.util.Map<BooleanClause.Occur,java.util.Collection<Query>>BooleanQuery. clauseSetsprivate java.util.Map<BooleanClause.Occur,java.util.Collection<ScorerSupplier>>Boolean2ScorerSupplier. subsMethods in org.apache.lucene.search that return BooleanClause.Occur Modifier and Type Method Description BooleanClause.OccurBooleanClause. getOccur()static BooleanClause.OccurBooleanClause.Occur. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BooleanClause.Occur[]BooleanClause.Occur. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.lucene.search with parameters of type BooleanClause.Occur Modifier and Type Method Description BooleanQuery.BuilderBooleanQuery.Builder. add(Query query, BooleanClause.Occur occur)Add a new clause to thisBooleanQuery.Builder.(package private) java.util.Collection<Query>BooleanQuery. getClauses(BooleanClause.Occur occur)Return the collection of queries for the givenBooleanClause.Occur.QueryVisitorQueryVisitor. getSubVisitor(BooleanClause.Occur occur, Query parent)Pulls a visitor instance for visiting child clauses of a query The default implementation returnsthis, unlessoccuris equal toMUST_NOTin which case it returnsQueryVisitor.EMPTY_VISITORConstructors in org.apache.lucene.search with parameters of type BooleanClause.Occur Constructor Description BooleanClause(Query query, BooleanClause.Occur occur)Constructs a BooleanClause.Constructor parameters in org.apache.lucene.search with type arguments of type BooleanClause.Occur Constructor Description Boolean2ScorerSupplier(Weight weight, java.util.Map<BooleanClause.Occur,java.util.Collection<ScorerSupplier>> subs, ScoreMode scoreMode, int minShouldMatch) -
Uses of BooleanClause.Occur in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight with parameters of type BooleanClause.Occur Modifier and Type Method Description QueryVisitorQueryTermExtractor.BoostedTermExtractor. getSubVisitor(BooleanClause.Occur occur, Query parent) -
Uses of BooleanClause.Occur in org.apache.lucene.search.suggest.analyzing
Methods in org.apache.lucene.search.suggest.analyzing with parameters of type BooleanClause.Occur Modifier and Type Method Description voidAnalyzingInfixSuggester. addContextToQuery(BooleanQuery.Builder query, BytesRef context, BooleanClause.Occur clause)This method is handy as we do not need access to internal fields such as CONTEXTS_FIELD_NAME in order to build queries However, here may not be its best location.Method parameters in org.apache.lucene.search.suggest.analyzing with type arguments of type BooleanClause.Occur Modifier and Type Method Description java.util.List<Lookup.LookupResult>AnalyzingInfixSuggester. lookup(java.lang.CharSequence key, java.util.Map<BytesRef,BooleanClause.Occur> contextInfo, int num, boolean allTermsRequired, boolean doHighlight)Retrieve suggestions, specifying whether all terms must match (allTermsRequired) and whether the hits should be highlighted (doHighlight).java.util.List<Lookup.LookupResult>BlendedInfixSuggester. lookup(java.lang.CharSequence key, java.util.Map<BytesRef,BooleanClause.Occur> contextInfo, int num, boolean allTermsRequired, boolean doHighlight)private BooleanQueryAnalyzingInfixSuggester. toQuery(java.util.Map<BytesRef,BooleanClause.Occur> contextInfo) -
Uses of BooleanClause.Occur in org.apache.lucene.search.uhighlight
Methods in org.apache.lucene.search.uhighlight with parameters of type BooleanClause.Occur Modifier and Type Method Description QueryVisitorMultiTermHighlighting.AutomataCollector. getSubVisitor(BooleanClause.Occur occur, Query parent) -
Uses of BooleanClause.Occur in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type BooleanClause.Occur Modifier and Type Method Description protected voidQueryBuilder. add(BooleanQuery.Builder q, java.util.List<QueryBuilder.TermAndBoost> current, BooleanClause.Occur operator)protected QueryQueryBuilder. analyzeGraphBoolean(java.lang.String field, TokenStream source, BooleanClause.Occur operator)Creates a boolean query from a graph token stream.protected QueryQueryBuilder. analyzeMultiBoolean(java.lang.String field, TokenStream stream, BooleanClause.Occur operator)Creates complex boolean query from the cached tokenstream contentsQueryQueryBuilder. createBooleanQuery(java.lang.String field, java.lang.String queryText, BooleanClause.Occur operator)Creates a boolean query from the query text.protected QueryQueryBuilder. createFieldQuery(Analyzer analyzer, BooleanClause.Occur operator, java.lang.String field, java.lang.String queryText, boolean quoted, int phraseSlop)Creates a query from the analysis chain.protected QueryQueryBuilder. createFieldQuery(TokenStream source, BooleanClause.Occur operator, java.lang.String field, boolean quoted, int phraseSlop)Creates a query from a token stream.QueryVisitorRamUsageEstimator.RamUsageQueryVisitor. getSubVisitor(BooleanClause.Occur occur, Query parent)
-