Uses of Class
org.apache.lucene.search.BooleanClause.Occur
-
-
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 newCommonTermsQueryExtendedCommonTermsQuery(BooleanClause.Occur highFreqOccur, BooleanClause.Occur lowFreqOccur, float maxTermFrequency)Deprecated. -
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 instance -
Uses of BooleanClause.Occur in org.apache.lucene.queryparser.simple
Methods 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 voidSimpleQueryParser. setDefaultOperator(BooleanClause.Occur operator)Sets the implicit operator setting, which must be eitherSHOULDorMUST. -
Uses of BooleanClause.Occur in org.apache.lucene.search
Methods in org.apache.lucene.search that return BooleanClause.Occur Modifier and Type Method Description BooleanClause.OccurBooleanClause. getOccur()static BooleanClause.OccurBooleanClause.Occur. valueOf(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.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. -
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, List<Term> 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 contentsQueryQueryBuilder. 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. -
Uses of BooleanClause.Occur in org.elasticsearch.index.query
Methods in org.elasticsearch.index.query that return BooleanClause.Occur Modifier and Type Method Description BooleanClause.OccurOperator. toBooleanClauseOccur() -
Uses of BooleanClause.Occur in org.elasticsearch.index.search
Fields in org.elasticsearch.index.search declared as BooleanClause.Occur Modifier and Type Field Description protected BooleanClause.OccurMatchQuery. occurMethods in org.elasticsearch.index.search with parameters of type BooleanClause.Occur Modifier and Type Method Description voidSimpleQueryStringQueryParser. setDefaultOperator(BooleanClause.Occur operator)voidMatchQuery. setOccur(BooleanClause.Occur occur)
-