Uses of Enum Class
org.apache.lucene.search.BooleanClause.Occur
Packages that use BooleanClause.Occur
Package
Description
Monitoring framework
Filters and Queries that add to core Lucene.
A simple query parser implemented with JavaCC.
Lucene Flexible Query Parser Implementation
Standard Lucene Query Node Builders.
A simple query parser for human-entered queries.
This package contains SrndQuery and its subclasses.
XML Parser factories for different Lucene Query/Filters.
Code to search indices.
Highlighting search terms.
Analyzer based autosuggest.
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
Some utility classes.
-
Uses of BooleanClause.Occur in org.apache.lucene.monitor
Methods in org.apache.lucene.monitor with parameters of type BooleanClause.OccurModifier and TypeMethodDescriptionQueryAnalyzer.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.OccurModifier and TypeFieldDescriptionprotected final BooleanClause.OccurCommonTermsQuery.highFreqOccurprotected final BooleanClause.OccurCommonTermsQuery.lowFreqOccurMethods in org.apache.lucene.queries that return BooleanClause.OccurModifier and TypeMethodDescriptionCommonTermsQuery.getHighFreqOccur()Gets theBooleanClause.Occurused for high frequency terms.CommonTermsQuery.getLowFreqOccur()Gets theBooleanClause.Occurused for low frequency terms.Constructors in org.apache.lucene.queries with parameters of type BooleanClause.OccurModifierConstructorDescriptionCommonTermsQuery(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.OccurModifier and TypeMethodDescriptionprotected BooleanClauseQueryParserBase.newBooleanClause(Query q, BooleanClause.Occur occur) Builds a new BooleanClause instancestatic QueryMultiFieldQueryParser.parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.static QueryMultiFieldQueryParser.parse(String query, 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.OccurModifier and TypeMethodDescriptionstatic QueryQueryParserUtil.parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.static QueryQueryParserUtil.parse(String query, 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.OccurModifier and TypeMethodDescriptionprivate 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.OccurModifier and TypeFieldDescription(package private) BooleanClause.OccurSimpleQueryParser.State.currentOperationprivate BooleanClause.OccurSimpleQueryParser.defaultOperator(package private) BooleanClause.OccurSimpleQueryParser.State.previousOperationMethods in org.apache.lucene.queryparser.simple that return BooleanClause.OccurModifier and TypeMethodDescriptionSimpleQueryParser.getDefaultOperator()Returns the implicit operator setting, which will be eitherSHOULDorMUST.Methods in org.apache.lucene.queryparser.simple with parameters of type BooleanClause.OccurModifier and TypeMethodDescriptionprivate 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.OccurModifier and TypeMethodDescriptionstatic voidSrndBooleanQuery.addQueriesToBoolean(BooleanQuery.Builder bq, List<Query> queries, BooleanClause.Occur occur) static QuerySrndBooleanQuery.makeBooleanQuery(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.OccurModifier and TypeMethodDescription(package private) static BooleanClause.OccurBooleanQueryBuilder.getOccursValue(Element clauseElem) -
Uses of BooleanClause.Occur in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BooleanClause.OccurModifier and TypeFieldDescriptionprivate final BooleanClause.OccurBooleanClause.occurThe field for theoccurrecord component.Fields in org.apache.lucene.search with type parameters of type BooleanClause.OccurModifier and TypeFieldDescriptionprivate final Map<BooleanClause.Occur, Collection<Query>> BooleanQuery.clauseSetsprivate final Map<BooleanClause.Occur, Collection<ScorerSupplier>> BooleanScorerSupplier.subsMethods in org.apache.lucene.search that return BooleanClause.OccurModifier and TypeMethodDescriptionBooleanClause.occur()Returns the value of theoccurrecord component.static BooleanClause.OccurReturns the enum constant of this class with the specified name.static BooleanClause.Occur[]BooleanClause.Occur.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.search with parameters of type BooleanClause.OccurModifier and TypeMethodDescriptionBooleanQuery.Builder.add(Query query, BooleanClause.Occur occur) Add a new clause to thisBooleanQuery.Builder.BooleanQuery.getClauses(BooleanClause.Occur occur) Return the collection of queries for the givenBooleanClause.Occur.QueryVisitor.getSubVisitor(BooleanClause.Occur occur, Query parent) Pulls a visitor instance for visiting child clauses of a queryprivate intBooleanWeight.optCount(LeafReaderContext context, BooleanClause.Occur occur) Return the number of matches of optional clauses, or -1 if unknown, or 0 if there are no optional clauses.Constructors in org.apache.lucene.search with parameters of type BooleanClause.OccurModifierConstructorDescriptionBooleanClause(Query query, BooleanClause.Occur occur) Constructs a BooleanClause.Constructor parameters in org.apache.lucene.search with type arguments of type BooleanClause.OccurModifierConstructorDescription(package private)BooleanScorerSupplier(Weight weight, Map<BooleanClause.Occur, Collection<ScorerSupplier>> subs, ScoreMode scoreMode, int minShouldMatch, int maxDoc) -
Uses of BooleanClause.Occur in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight with parameters of type BooleanClause.OccurModifier and TypeMethodDescriptionQueryTermExtractor.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.OccurModifier and TypeMethodDescriptionvoidAnalyzingInfixSuggester.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.OccurModifier and TypeMethodDescriptionAnalyzingInfixSuggester.lookup(CharSequence key, 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).BlendedInfixSuggester.lookup(CharSequence key, Map<BytesRef, BooleanClause.Occur> contextInfo, int num, boolean allTermsRequired, boolean doHighlight) private BooleanQueryAnalyzingInfixSuggester.toQuery(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.OccurModifier and TypeMethodDescriptionMultiTermHighlighting.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.OccurModifier and TypeMethodDescriptionprotected voidQueryBuilder.add(String field, BooleanQuery.Builder q, List<QueryBuilder.TermAndBoost> current, BooleanClause.Occur operator) protected QueryQueryBuilder.analyzeGraphBoolean(String field, TokenStream source, BooleanClause.Occur operator) Creates a boolean query from a graph token stream.protected QueryQueryBuilder.analyzeMultiBoolean(String field, TokenStream stream, BooleanClause.Occur operator) Creates complex boolean query from the cached tokenstream contentsQueryBuilder.createBooleanQuery(String field, String queryText, BooleanClause.Occur operator) Creates a boolean query from the query text.protected QueryQueryBuilder.createFieldQuery(Analyzer analyzer, BooleanClause.Occur operator, String field, String queryText, boolean quoted, int phraseSlop) Creates a query from the analysis chain.protected QueryQueryBuilder.createFieldQuery(TokenStream source, BooleanClause.Occur operator, String field, boolean quoted, int phraseSlop) Creates a query from a token stream.RamUsageEstimator.RamUsageQueryVisitor.getSubVisitor(BooleanClause.Occur occur, Query parent)