A B C D E F G H I J K L M N O P Q R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractQueryConfig - Class in org.apache.lucene.queryparser.flexible.core.config
-
This class is the base of
QueryConfigHandler
andFieldConfig
. - AbstractRangeQueryNode<T extends FieldValuePairQueryNode<?>> - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
This class should be extended by nodes intending to represent range queries.
- AbstractRangeQueryNode() - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
-
Constructs an
AbstractRangeQueryNode
, it should be invoked only by its extenders. - add(int, QueryNodeProcessor) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- add(String, ParserExtension) - Method in class org.apache.lucene.queryparser.ext.Extensions
-
Adds a new
ParserExtension
instance associated with the given key. - add(List<QueryNode>) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
- add(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- add(QueryNode) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
- add(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- add(QueryNodeProcessor) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- addAll(int, Collection<? extends QueryNodeProcessor>) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- addAll(Collection<? extends QueryNodeProcessor>) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- addBuilder(String, SpanQueryBuilder) - Method in class org.apache.lucene.queryparser.xml.builders.SpanQueryBuilderFactory
- addBuilder(String, QueryBuilder) - Method in class org.apache.lucene.queryparser.xml.QueryBuilderFactory
- addClause(List<BooleanClause>, int, int, Query) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- addEscapes(String) - Static method in error org.apache.lucene.queryparser.classic.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
- addEscapes(String) - Static method in error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
- addEscapes(String) - Static method in error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
- addFieldConfigListener(FieldConfigListener) - Method in class org.apache.lucene.queryparser.flexible.core.config.QueryConfigHandler
-
Adds a listener.
- addMultiTermClauses(List<BooleanClause>, Query) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Adds clauses generated from analysis over text containing whitespace.
- addQueryBuilder(String, QueryBuilder) - Method in class org.apache.lucene.queryparser.xml.CoreParser
- addSpanBuilder(String, SpanQueryBuilder) - Method in class org.apache.lucene.queryparser.xml.CoreParser
- addSpanQueries(SpanNearClauseFactory) - Method in class org.apache.lucene.queryparser.surround.query.DistanceQuery
- addSpanQueries(SpanNearClauseFactory) - Method in interface org.apache.lucene.queryparser.surround.query.DistanceSubQuery
- addSpanQueries(SpanNearClauseFactory) - Method in class org.apache.lucene.queryparser.surround.query.OrQuery
- addSpanQueries(SpanNearClauseFactory) - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- addSpanQuery(Query) - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- addSpanQueryBuilder(String, SpanQueryBuilder) - Method in class org.apache.lucene.queryparser.xml.CoreParser
- addSpanQueryWeighted(SpanQuery, float) - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- addTermWeighted(Term, float) - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- After - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.after(IntervalsSource, IntervalsSource)
. - After(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.After
- AFTER - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- allocate() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- ALLOW_LEADING_WILDCARD - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set whether leading wildcards are supported
- allowedSuffix(String) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- allowedTruncation(String) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- AllowLeadingWildcardProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor verifies if
StandardQueryConfigHandler.ConfigurationKeys.ALLOW_LEADING_WILDCARD
is defined in theQueryConfigHandler
. - AllowLeadingWildcardProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.AllowLeadingWildcardProcessor
- AnalyzedText - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.analyzedText(String, Analyzer, String, int, boolean)
. - AnalyzedText(String) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.AnalyzedText
- analyzer - Variable in class org.apache.lucene.queryparser.xml.CoreParser
- ANALYZER - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the
Analyzer
used for terms found in the query - ANALYZER_REQUIRED - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- AnalyzerQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor verifies if
StandardQueryConfigHandler.ConfigurationKeys.ANALYZER
is defined in theQueryConfigHandler
. - AnalyzerQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.AnalyzerQueryNodeProcessor
- AND - org.apache.lucene.queryparser.classic.QueryParser.Operator
- AND - org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.Operator
- AND - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- AND - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- AND - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- AND_OPERATOR - Static variable in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Alternative form of QueryParser.Operator.AND
- AND_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
AND
operator (+) - AndQuery - Class in org.apache.lucene.queryparser.surround.query
-
Factory for conjunctions
- AndQuery(List<SrndQuery>, boolean, String) - Constructor for class org.apache.lucene.queryparser.surround.query.AndQuery
- AndQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- AndQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
AndQueryNode
represents an AND boolean operation performed on a list of nodes. - AndQueryNode(List<QueryNode>) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.AndQueryNode
- AnyQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
AnyQueryNode
represents an ANY operator performed on a list of nodes. - AnyQueryNode(List<QueryNode>, CharSequence, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.AnyQueryNode
- AnyQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a BooleanQuery of SHOULD clauses, possibly with some minimum number to match.
- AnyQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.AnyQueryNodeBuilder
- AtLeast - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.atLeast(int, IntervalsSource...)
. - AtLeast(int, List<IntervalFunction>) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.AtLeast
- ATLEAST - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
B
- backup(int) - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Backs up the input stream by amount steps.
- backup(int) - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- BAREOPER - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- BasicQueryFactory - Class in org.apache.lucene.queryparser.surround.query
-
Factory for creating basic term queries
- BasicQueryFactory() - Constructor for class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- BasicQueryFactory(int) - Constructor for class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- Before - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.before(IntervalsSource, IntervalsSource)
. - Before(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Before
- BEFORE - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- begin - Variable in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
-
The term's begin position.
- beginColumn - Variable in class org.apache.lucene.queryparser.classic.Token
-
The column number of the first character of this Token.
- beginColumn - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
The column number of the first character of this Token.
- beginColumn - Variable in class org.apache.lucene.queryparser.surround.parser.Token
-
The column number of the first character of this Token.
- beginLine - Variable in class org.apache.lucene.queryparser.classic.Token
-
The line number of the first character of this Token.
- beginLine - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
The line number of the first character of this Token.
- beginLine - Variable in class org.apache.lucene.queryparser.surround.parser.Token
-
The line number of the first character of this Token.
- BeginToken() - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Returns the next character that marks the beginning of the next token.
- BeginToken() - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- BooleanModifierNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
A
BooleanModifierNode
has the same behaviour asModifierQueryNode
, it only indicates that this modifier was added byBooleanQuery2ModifierNodeProcessor
and not by the user. - BooleanModifierNode(QueryNode, ModifierQueryNode.Modifier) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.BooleanModifierNode
- BooleanModifiersQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.precedence.processors
-
This processor is used to apply the correct
ModifierQueryNode
toBooleanQueryNode
s children. - BooleanModifiersQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.precedence.processors.BooleanModifiersQueryNodeProcessor
- BooleanQuery2ModifierNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor is used to apply the correct
ModifierQueryNode
toBooleanQueryNode
s children. - BooleanQuery2ModifierNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- BooleanQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
BooleanQuery
- BooleanQueryBuilder(QueryBuilder) - Constructor for class org.apache.lucene.queryparser.xml.builders.BooleanQueryBuilder
- BooleanQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
BooleanQueryNode
represents a list of elements which do not have an explicit boolean operator defined between them. - BooleanQueryNode(List<QueryNode>) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.BooleanQueryNode
- BooleanQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
BooleanQuery
object from aBooleanQueryNode
object. - BooleanQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.BooleanQueryNodeBuilder
- BooleanSingleChildOptimizationQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor removes every
BooleanQueryNode
that contains only one child and returns this child. - BooleanSingleChildOptimizationQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.BooleanSingleChildOptimizationQueryNodeProcessor
- Boost - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
Lexical state.
- Boost - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
Lexical state.
- BOOST - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the boost value in
FieldConfig
objects. - BoostingTermBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
PayloadScoreQuery
- BoostingTermBuilder() - Constructor for class org.apache.lucene.queryparser.xml.builders.BoostingTermBuilder
- BoostQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
BoostQueryNode
boosts the QueryNode tree which is under this node. - BoostQueryNode(QueryNode, float) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.BoostQueryNode
-
Constructs a boost node
- BoostQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
This builder basically reads the
Query
object set on theBoostQueryNode
child usingQueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
and applies the boost value defined in theBoostQueryNode
. - BoostQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.BoostQueryNodeBuilder
- BoostQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor iterates the query node tree looking for every
FieldableNode
that hasStandardQueryConfigHandler.ConfigurationKeys.BOOST
in its config. - BoostQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.BoostQueryNodeProcessor
- boosts - Variable in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- build(QueryNode) - Method in interface org.apache.lucene.queryparser.flexible.core.builders.QueryBuilder
-
Builds some kind of object from a query tree.
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.builders.QueryTreeBuilder
-
Builds some kind of object from a query tree.
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.AnyQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.BooleanQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.BoostQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.DummyQueryNodeBuilder
-
Always return
null
. - build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.FieldQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.FuzzyQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.GroupQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.IntervalQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.MatchAllDocsQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.MatchNoDocsQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.MinShouldMatchNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.ModifierQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.MultiPhraseQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.PhraseQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.PointRangeQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.PrefixWildcardQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.RegexpQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.SlopQueryNodeBuilder
- build(QueryNode) - Method in interface org.apache.lucene.queryparser.flexible.standard.builders.StandardQueryBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.StandardQueryTreeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.SynonymQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.TermRangeQueryNodeBuilder
- build(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.builders.WildcardQueryNodeBuilder
- buildExtensionField(String) - Method in class org.apache.lucene.queryparser.ext.Extensions
-
Builds an extension field string from a given extension key and the default query field.
- buildExtensionField(String, String) - Method in class org.apache.lucene.queryparser.ext.Extensions
-
Builds an extension field string from a given extension key and the extensions field.
- buildFieldConfig(FieldConfig) - Method in interface org.apache.lucene.queryparser.flexible.core.config.FieldConfigListener
-
This method is called ever time a field configuration is requested.
- buildFieldConfig(FieldConfig) - Method in class org.apache.lucene.queryparser.flexible.standard.config.FieldBoostMapFCListener
- buildFieldConfig(FieldConfig) - Method in class org.apache.lucene.queryparser.flexible.standard.config.FieldDateResolutionFCListener
- buildFieldConfig(FieldConfig) - Method in class org.apache.lucene.queryparser.flexible.standard.config.PointsConfigListener
C
- CARAT - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- CARAT - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- CARAT - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- charAt(int) - Method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
- CharStream - Interface in org.apache.lucene.queryparser.charstream
-
This interface describes a character stream that maintains line and column number positions of the characters.
- checkDistanceSubQueries(DistanceQuery, String) - Static method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- checkMax() - Method in class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- Clause(String) - Method in class org.apache.lucene.queryparser.classic.QueryParser
- clear() - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- clear() - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- clone() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText
- clone() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- clone() - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AnyQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.BooleanQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.BoostQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.DeletedQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FuzzyQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.GroupQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.MatchAllDocsQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.NoTokenFoundQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.OpaqueQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PhraseSlopQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- cloneTree() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
Recursive clone the QueryNode tree The tags are not copied to the new tree when you call the cloneTree() method
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QuotedFieldQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.SlopQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.TokenizedPhraseQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.IntervalQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.MultiPhraseQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PrefixWildcardQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- cloneTree() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.WildcardQueryNode
- COLON - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- COLON - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- COMMA - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- CommonQueryParserConfiguration - Interface in org.apache.lucene.queryparser.flexible.standard
-
Configuration options common across queryparser implementations.
- ComplexPhraseQueryParser - Class in org.apache.lucene.queryparser.complexPhrase
-
QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*".
- ComplexPhraseQueryParser(String, Analyzer) - Constructor for class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
- ComposedQuery - Class in org.apache.lucene.queryparser.surround.query
-
Base class for composite queries (such as AND/OR/NOT)
- ComposedQuery(List<SrndQuery>, boolean, String) - Constructor for class org.apache.lucene.queryparser.surround.query.ComposedQuery
- ConfigurationKey<T> - Class in org.apache.lucene.queryparser.flexible.core.config
-
An instance of this class represents a key that is used to retrieve a value from
AbstractQueryConfig
. - ConfigurationKeys() - Constructor for class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
- Conjunction() - Method in class org.apache.lucene.queryparser.classic.QueryParser
- ConstantScoreQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
ConstantScoreQuery
- ConstantScoreQueryBuilder(QueryBuilderFactory) - Constructor for class org.apache.lucene.queryparser.xml.builders.ConstantScoreQueryBuilder
- CONTAINED_BY - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- ContainedBy - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.containedBy(IntervalsSource, IntervalsSource)
. - ContainedBy(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.ContainedBy
- Containing - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.containing(IntervalsSource, IntervalsSource)
. - Containing(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Containing
- CONTAINING - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- contains(Object) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- containsAll(Collection<?>) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- containsTag(String) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
verify if a node contains a tag
- containsTag(String) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
-
verify if a node contains a tag
- CoreParser - Class in org.apache.lucene.queryparser.xml
-
Assembles a QueryBuilder which uses only core Lucene Query objects
- CoreParser(String, Analyzer) - Constructor for class org.apache.lucene.queryparser.xml.CoreParser
-
Constructs an XML parser that creates a QueryParser for each UserQuery request.
- CoreParser(String, Analyzer, QueryParser) - Constructor for class org.apache.lucene.queryparser.xml.CoreParser
- CoreParser(Analyzer, QueryParser) - Constructor for class org.apache.lucene.queryparser.xml.CoreParser
-
Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronised on this parser
- CorePlusExtensionsParser - Class in org.apache.lucene.queryparser.xml
-
Assembles a QueryBuilder which uses Query objects from Lucene's
sandbox
andqueries
modules in addition to core queries. - CorePlusExtensionsParser(String, Analyzer) - Constructor for class org.apache.lucene.queryparser.xml.CorePlusExtensionsParser
-
Constructs an XML parser that creates a QueryParser for each UserQuery request.
- CorePlusExtensionsParser(Analyzer, QueryParser) - Constructor for class org.apache.lucene.queryparser.xml.CorePlusExtensionsParser
-
Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parser
- CorePlusQueriesParser - Class in org.apache.lucene.queryparser.xml
-
Assembles a QueryBuilder which uses Query objects from Lucene's
queries
module in addition to core queries. - CorePlusQueriesParser(String, Analyzer) - Constructor for class org.apache.lucene.queryparser.xml.CorePlusQueriesParser
-
Constructs an XML parser that creates a QueryParser for each UserQuery request.
- CorePlusQueriesParser(String, Analyzer, QueryParser) - Constructor for class org.apache.lucene.queryparser.xml.CorePlusQueriesParser
- CorePlusQueriesParser(Analyzer, QueryParser) - Constructor for class org.apache.lucene.queryparser.xml.CorePlusQueriesParser
-
Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parser
- COULD_NOT_PARSE_NUMBER - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- createQueryParser(String, Analyzer) - Method in class org.apache.lucene.queryparser.xml.builders.UserInputQueryBuilder
-
Method to create a QueryParser - designed to be overridden
- cud - Variable in class org.apache.lucene.queryparser.ext.Extensions.Pair
- cur - Variable in class org.apache.lucene.queryparser.ext.Extensions.Pair
- curChar - Variable in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
- curChar - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
- curChar - Variable in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
- currentToken - Variable in exception org.apache.lucene.queryparser.classic.ParseException
-
This is the last token that has been consumed successfully.
- currentToken - Variable in exception org.apache.lucene.queryparser.flexible.standard.parser.ParseException
-
This is the last token that has been consumed successfully.
- currentToken - Variable in exception org.apache.lucene.queryparser.surround.parser.ParseException
-
This is the last token that has been consumed successfully.
D
- DATE_RESOLUTION - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set default
DateTools.Resolution
. - DEFAULT - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
Lexical state.
- DEFAULT - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
Lexical state.
- DEFAULT - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
Lexical state.
- DEFAULT_EXTENSION_FIELD_DELIMITER - Static variable in class org.apache.lucene.queryparser.ext.Extensions
-
The default extension field delimiter character.
- DEFAULT_OPERATOR - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the default boolean operator
- DEFAULT_SPLIT_ON_WHITESPACE - Static variable in class org.apache.lucene.queryparser.classic.QueryParser
-
default split on whitespace behavior
- defaultField - Variable in class org.apache.lucene.queryparser.xml.CoreParser
- DefaultPhraseSlopQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor verifies if
StandardQueryConfigHandler.ConfigurationKeys.PHRASE_SLOP
is defined in theQueryConfigHandler
. - DefaultPhraseSlopQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.DefaultPhraseSlopQueryNodeProcessor
- DeletedQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
DeletedQueryNode
represents a node that was deleted from the query node tree. - DeletedQueryNode() - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.DeletedQueryNode
- disable_tracing() - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Disable tracing.
- disable_tracing() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Disable tracing.
- disable_tracing() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Disable tracing.
- DISALLOW_EXTERNAL_ENTITY_RESOLVER - Static variable in class org.apache.lucene.queryparser.xml.CoreParser
- discardEscapeChar(CharSequence) - Static method in class org.apache.lucene.queryparser.flexible.standard.parser.EscapeQuerySyntaxImpl
-
Returns a String where the escape char has been removed, or kept only once if there was a double escape.
- DisjunctionMaxQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
DisjunctionMaxQuery
- DisjunctionMaxQueryBuilder(QueryBuilder) - Constructor for class org.apache.lucene.queryparser.xml.builders.DisjunctionMaxQueryBuilder
- DistanceQuery - Class in org.apache.lucene.queryparser.surround.query
-
Factory for NEAR queries
- DistanceQuery(List<SrndQuery>, boolean, int, String, boolean) - Constructor for class org.apache.lucene.queryparser.surround.query.DistanceQuery
- DistanceSubQuery - Interface in org.apache.lucene.queryparser.surround.query
-
Interface for queries that can be nested as subqueries into a span near.
- distanceSubQueryNotAllowed() - Method in class org.apache.lucene.queryparser.surround.query.DistanceQuery
- distanceSubQueryNotAllowed() - Method in interface org.apache.lucene.queryparser.surround.query.DistanceSubQuery
-
When distanceSubQueryNotAllowed() returns non null, the reason why the subquery is not allowed as a distance subquery is returned.
- distanceSubQueryNotAllowed() - Method in class org.apache.lucene.queryparser.surround.query.OrQuery
- distanceSubQueryNotAllowed() - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- DOMUtils - Class in org.apache.lucene.queryparser.xml
-
Helper methods for parsing XML
- DOMUtils() - Constructor for class org.apache.lucene.queryparser.xml.DOMUtils
- Done() - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.
- Done() - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- DummyQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
This builder does nothing.
- DummyQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.DummyQueryNodeBuilder
-
Constructs a
DummyQueryNodeBuilder
object.
E
- EMPTY_MESSAGE - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- ENABLE_POSITION_INCREMENTS - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set whether position increments is enabled
- enable_tracing() - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Enable tracing.
- enable_tracing() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Enable tracing.
- enable_tracing() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Enable tracing.
- end - Variable in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
-
The term's end position.
- endColumn - Variable in class org.apache.lucene.queryparser.classic.Token
-
The column number of the last character of this Token.
- endColumn - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
The column number of the last character of this Token.
- endColumn - Variable in class org.apache.lucene.queryparser.surround.parser.Token
-
The column number of the last character of this Token.
- endLine - Variable in class org.apache.lucene.queryparser.classic.Token
-
The line number of the last character of this Token.
- endLine - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
The line number of the last character of this Token.
- endLine - Variable in class org.apache.lucene.queryparser.surround.parser.Token
-
The line number of the last character of this Token.
- EOF - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
End of File.
- EOF - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
End of File.
- EOF - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
End of File.
- EOL - Static variable in exception org.apache.lucene.queryparser.classic.ParseException
-
The end of line string for this machine.
- EOL - Static variable in exception org.apache.lucene.queryparser.flexible.standard.parser.ParseException
-
The end of line string for this machine.
- EOL - Static variable in exception org.apache.lucene.queryparser.surround.parser.ParseException
-
The end of line string for this machine.
- equals(Object) - Method in class org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
- equals(Object) - Method in class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
-
Two BasicQueryFactory's are equal when they generate the same types of basic queries, or both cannot generate queries anymore.
- equals(Object) - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
-
For subclasses of
SrndQuery
within the packageorg.apache.lucene.queryparser.surround.query
it is not necessary to override this method, - escape(CharSequence, Locale, EscapeQuerySyntax.Type) - Method in interface org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax
- escape(CharSequence, Locale, EscapeQuerySyntax.Type) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.EscapeQuerySyntaxImpl
- escape(String) - Static method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Returns a String where those characters that QueryParser expects to be escaped are escaped by a preceding
\
. - escape(String) - Static method in class org.apache.lucene.queryparser.flexible.standard.QueryParserUtil
-
Returns a String where those characters that TextParser expects to be escaped are escaped by a preceding
\
. - ESCAPE_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
ESCAPE
operator (\) - escapeExtensionField(String) - Method in class org.apache.lucene.queryparser.ext.Extensions
-
Escapes an extension field.
- EscapeQuerySyntax - Interface in org.apache.lucene.queryparser.flexible.core.parser
-
A parser needs to implement
EscapeQuerySyntax
to allow the QueryNode to escape the queries, when the toQueryString method is called. - EscapeQuerySyntax.Type - Enum in org.apache.lucene.queryparser.flexible.core.parser
-
Type of escaping: String for escaping syntax, NORMAL for escaping reserved words (like AND) in terms
- EscapeQuerySyntaxImpl - Class in org.apache.lucene.queryparser.flexible.standard.parser
-
Implementation of
EscapeQuerySyntax
for the standard lucene syntax. - EscapeQuerySyntaxImpl() - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.EscapeQuerySyntaxImpl
- expectedTokenSequences - Variable in exception org.apache.lucene.queryparser.classic.ParseException
-
Each entry in this array is an array of integers.
- expectedTokenSequences - Variable in exception org.apache.lucene.queryparser.flexible.standard.parser.ParseException
-
Each entry in this array is an array of integers.
- expectedTokenSequences - Variable in exception org.apache.lucene.queryparser.surround.parser.ParseException
-
Each entry in this array is an array of integers.
- Extend - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.extend(IntervalsSource, int, int)
. - Extend(IntervalFunction, int, int) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Extend
- EXTEND - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- ExtendableQueryParser - Class in org.apache.lucene.queryparser.ext
-
The
ExtendableQueryParser
enables arbitrary query parser extension based on a customizable field naming scheme. - ExtendableQueryParser(String, Analyzer) - Constructor for class org.apache.lucene.queryparser.ext.ExtendableQueryParser
-
Creates a new
ExtendableQueryParser
instance - ExtendableQueryParser(String, Analyzer, Extensions) - Constructor for class org.apache.lucene.queryparser.ext.ExtendableQueryParser
-
Creates a new
ExtendableQueryParser
instance - ExtensionQuery - Class in org.apache.lucene.queryparser.ext
-
ExtensionQuery
holds all query components extracted from the original query string like the query field and the extension query string. - ExtensionQuery(QueryParser, String, String) - Constructor for class org.apache.lucene.queryparser.ext.ExtensionQuery
-
Creates a new
ExtensionQuery
- Extensions - Class in org.apache.lucene.queryparser.ext
-
The
Extensions
class represents an extension mapping to associateParserExtension
instances with extension keys. - Extensions() - Constructor for class org.apache.lucene.queryparser.ext.Extensions
-
Creates a new
Extensions
instance with theExtensions.DEFAULT_EXTENSION_FIELD_DELIMITER
as a delimiter character. - Extensions(char) - Constructor for class org.apache.lucene.queryparser.ext.Extensions
-
Creates a new
Extensions
instance - Extensions.Pair<Cur,Cud> - Class in org.apache.lucene.queryparser.ext
-
This class represents a generic pair.
F
- FastCharStream - Class in org.apache.lucene.queryparser.charstream
-
An efficient implementation of JavaCC's CharStream interface.
- FastCharStream(Reader) - Constructor for class org.apache.lucene.queryparser.charstream.FastCharStream
-
Constructs from a Reader.
- field - Variable in class org.apache.lucene.queryparser.classic.QueryParserBase
- field - Variable in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
-
The term's field
- FIELD_BOOST_MAP - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set a field to boost map that is used to set the boost for each field
- FIELD_DATE_RESOLUTION_MAP - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set a field to
DateTools.Resolution
map that is used to normalize each date field value. - FieldableNode - Interface in org.apache.lucene.queryparser.flexible.core.nodes
-
A query node implements
FieldableNode
interface to indicate that its children and itself are associated to a specific field. - FieldBoostMapFCListener - Class in org.apache.lucene.queryparser.flexible.standard.config
-
This listener listens for every field configuration request and assign a
StandardQueryConfigHandler.ConfigurationKeys.BOOST
to the equivalentFieldConfig
based on a defined map: fieldName -> boostValue stored inStandardQueryConfigHandler.ConfigurationKeys.FIELD_BOOST_MAP
. - FieldBoostMapFCListener(QueryConfigHandler) - Constructor for class org.apache.lucene.queryparser.flexible.standard.config.FieldBoostMapFCListener
- FieldConfig - Class in org.apache.lucene.queryparser.flexible.core.config
-
This class represents a field configuration.
- FieldConfig(String) - Constructor for class org.apache.lucene.queryparser.flexible.core.config.FieldConfig
-
Constructs a
FieldConfig
- FieldConfigListener - Interface in org.apache.lucene.queryparser.flexible.core.config
-
This interface should be implemented by classes that wants to listen for field configuration requests.
- FieldDateResolutionFCListener - Class in org.apache.lucene.queryparser.flexible.standard.config
-
This listener listens for every field configuration request and assign a
StandardQueryConfigHandler.ConfigurationKeys.DATE_RESOLUTION
to the equivalentFieldConfig
based on a defined map: fieldName ->DateTools.Resolution
stored inStandardQueryConfigHandler.ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP
. - FieldDateResolutionFCListener(QueryConfigHandler) - Constructor for class org.apache.lucene.queryparser.flexible.standard.config.FieldDateResolutionFCListener
- fieldNamesToString(StringBuilder) - Method in class org.apache.lucene.queryparser.surround.query.FieldsQuery
- FieldQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
FieldQueryNode
represents a element that contains field/text tuple - FieldQueryNode(CharSequence, CharSequence, int, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- FieldQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
TermQuery
object from aFieldQueryNode
object. - FieldQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.FieldQueryNodeBuilder
- fields - Variable in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- FieldsQuery - Class in org.apache.lucene.queryparser.surround.query
-
Forms an OR query of the provided query across multiple fields.
- FieldsQuery(SrndQuery, String, char) - Constructor for class org.apache.lucene.queryparser.surround.query.FieldsQuery
- FieldsQuery(SrndQuery, List<String>, char) - Constructor for class org.apache.lucene.queryparser.surround.query.FieldsQuery
- FieldsQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- FieldsQueryList() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- FieldValuePairQueryNode<T> - Interface in org.apache.lucene.queryparser.flexible.core.nodes
-
This interface should be implemented by
QueryNode
that holds a field and an arbitrary value. - fillChildrenBufferAndApplyModifiery(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- flags - Variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
flags to the parser (to turn features on/off)
- FN_OR - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- FN_PREFIX - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- format(double, StringBuffer, FieldPosition) - Method in class org.apache.lucene.queryparser.flexible.standard.config.NumberDateFormat
- format(long, StringBuffer, FieldPosition) - Method in class org.apache.lucene.queryparser.flexible.standard.config.NumberDateFormat
- format(Object, StringBuffer, FieldPosition) - Method in class org.apache.lucene.queryparser.flexible.standard.config.NumberDateFormat
- Function - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
Lexical state.
- FUZZY_CONFIG - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the
FuzzyConfig
used to create fuzzy queries. - FUZZY_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
FUZZY
operators: (~) on single terms - FUZZY_SLOP - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- FuzzyConfig - Class in org.apache.lucene.queryparser.flexible.standard.config
-
Configuration parameters for
FuzzyQuery
s - FuzzyConfig() - Constructor for class org.apache.lucene.queryparser.flexible.standard.config.FuzzyConfig
- FuzzyLikeThisQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
FuzzyLikeThisQuery
- FuzzyLikeThisQueryBuilder(Analyzer) - Constructor for class org.apache.lucene.queryparser.xml.builders.FuzzyLikeThisQueryBuilder
- FuzzyQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
FuzzyQueryNode
represents a element that contains field/text/similarity tuple - FuzzyQueryNode(CharSequence, CharSequence, float, int, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.FuzzyQueryNode
- FuzzyQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
FuzzyQuery
object from aFuzzyQueryNode
object. - FuzzyQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.FuzzyQueryNodeBuilder
- FuzzyQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor iterates the query node tree looking for every
FuzzyQueryNode
, when this kind of node is found, it checks on the query configuration forStandardQueryConfigHandler.ConfigurationKeys.FUZZY_CONFIG
, gets the fuzzy prefix length and default similarity from it and set to the fuzzy node. - FuzzyQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.FuzzyQueryNodeProcessor
- FuzzyTerm - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
An interval function equivalent to
FuzzyQuery
. - FuzzyTerm(String, Integer, Integer) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.FuzzyTerm
- FUZZYTERM - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
G
- generateParseException() - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Generate ParseException.
- generateParseException() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Generate ParseException.
- generateParseException() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Generate ParseException.
- get(int) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- get(ConfigurationKey<T>) - Method in class org.apache.lucene.queryparser.flexible.core.config.AbstractQueryConfig
-
Returns the value held by the given key.
- getAllowLeadingWildcard() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- getAllowLeadingWildcard() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
- getAllowLeadingWildcard() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- getAnalyzer() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
- getAnalyzer() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- getAndQuery(List<SrndQuery>, boolean, Token) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getArguments() - Method in interface org.apache.lucene.queryparser.flexible.messages.Message
- getArguments() - Method in class org.apache.lucene.queryparser.flexible.messages.MessageImpl
- getAttribute(Element, String, boolean) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getAttribute(Element, String, float) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getAttribute(Element, String, int) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getAttribute(Element, String, String) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getAttributeOrFail(Element, String) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getAttributeWithInheritance(Element, String) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
-
Returns an attribute value from this node, or first parent node with this attribute defined
- getAttributeWithInheritanceOrFail(Element, String) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getAutoGeneratePhraseQueries() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- getBasicQueryFactory() - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- getBegin() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- getBegin() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText
- getBeginColumn() - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Returns the column number of the first character for current token (being matched after the last call to BeginTOken).
- getBeginColumn() - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- getBeginColumn() - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
-
For EndOfLine and EndOfFile ("<EOF>") parsing problems the last char in the string is returned For the case where the parser is not able to figure out the line and column number -1 will be returned
- getBeginLine() - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Returns the line number of the first character for current token (being matched after the last call to BeginTOken).
- getBeginLine() - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- getBeginLine() - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
-
For EndOfLine and EndOfFile ("<EOF>") parsing problems the last char in the string is returned For the case where the parser is not able to figure out the line and column number -1 will be returned
- getBooleanQuery(List<BooleanClause>) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Factory method for generating query, given a set of clauses.
- getBracketClose() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- getBracketOpen() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- getChild() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.BoostQueryNode
-
Returns the single child which this node boosts.
- getChild() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.GroupQueryNode
- getChild() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode
- getChild() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PhraseSlopQueryNode
- getChild() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.SlopQueryNode
- getChildByTagName(Element, String) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getChildByTagOrFail(Element, String) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getChildren() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
get Children nodes
- getChildren() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- getChildTextByTagName(Element, String) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getDateResolution() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Returns the default
DateTools.Resolution
used for certain field when noDateTools.Resolution
is defined for this field. - getDateResolution(String) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Returns the date resolution that is used by RangeQueries for the given field.
- getDateResolutionMap() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Returns the field to
DateTools.Resolution
map used to normalize each date field. - getDefaultOperator() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Gets implicit operator setting, which will be either AND_OPERATOR or OR_OPERATOR.
- getDefaultOperator() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Gets implicit operator setting, which will be either
StandardQueryConfigHandler.Operator.AND
orStandardQueryConfigHandler.Operator.OR
. - getDefaultOperator() - Method in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Returns the implicit operator setting, which will be either
SHOULD
orMUST
. - getDeterminizeWorkLimit() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- getDistance() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- getDistanceQuery(List<SrndQuery>, boolean, Token, boolean) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getEnablePositionIncrements() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
- getEnablePositionIncrements() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- getEnd() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- getEnd() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText
- getEndColumn() - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Returns the column number of the last character for current token (being matched after the last call to BeginTOken).
- getEndColumn() - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- getEndLine() - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Returns the line number of the last character for current token (being matched after the last call to BeginTOken).
- getEndLine() - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- getEntityResolver() - Method in class org.apache.lucene.queryparser.xml.CoreParser
-
Returns a SAX
EntityResolver
to be used byDocumentBuilder
. - getErrorHandler() - Method in class org.apache.lucene.queryparser.xml.CoreParser
-
Subclass and override to return a SAX
ErrorHandler
to be used byDocumentBuilder
. - getErrorToken() - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- getExtension(String) - Method in class org.apache.lucene.queryparser.ext.Extensions
-
Returns the
ParserExtension
instance for the given key ornull
if no extension can be found for the key. - getExtensionFieldDelimiter() - Method in class org.apache.lucene.queryparser.ext.ExtendableQueryParser
-
Returns the extension field delimiter character.
- getExtensionFieldDelimiter() - Method in class org.apache.lucene.queryparser.ext.Extensions
-
Returns the extension field delimiter
- getField() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- getField() - Method in class org.apache.lucene.queryparser.ext.ExtensionQuery
-
Returns the query field
- getField() - Method in class org.apache.lucene.queryparser.flexible.core.config.FieldConfig
-
Returns the field name this configuration represents.
- getField() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AnyQueryNode
-
returns null if the field was not specified
- getField() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.FieldableNode
-
Returns the field associated to the node and every node under it.
- getField() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- getField() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PhraseSlopQueryNode
- getField() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
-
returns null if the field was not specified in the query string
- getField() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.SlopQueryNode
- getField() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.TokenizedPhraseQueryNode
- getField() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
-
Returns the field associated with this node.
- getField() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.IntervalQueryNode
- getField() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.MultiPhraseQueryNode
- getField() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
-
Returns the field associated with this node.
- getField() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- getFieldAsString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AnyQueryNode
-
returns - null if the field was not specified
- getFieldAsString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
-
returns null if the field was not specified in the query string
- getFieldAsString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
-
returns null if the field was not specified in the query string
- getFieldAsString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- getFieldConfig(String) - Method in class org.apache.lucene.queryparser.flexible.core.config.QueryConfigHandler
-
Returns an implementation of
FieldConfig
for a specific field name. - getFieldName() - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- getFieldNames() - Method in class org.apache.lucene.queryparser.surround.query.FieldsQuery
- getFieldOperator() - Method in class org.apache.lucene.queryparser.surround.query.FieldsQuery
- getFieldOperator() - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- getFieldQuery(String, String, boolean) - Method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- getFieldQuery(String, String, boolean) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- getFieldQuery(String, String, boolean) - Method in class org.apache.lucene.queryparser.ext.ExtendableQueryParser
- getFieldQuery(String, String, int) - Method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- getFieldQuery(String, String, int) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Base implementation delegates to
QueryParserBase.getFieldQuery(String,String,boolean)
. - getFieldQuery(String, String, int) - Method in class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
- getFieldsBoost() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Returns the field to boost map used to set boost for each field.
- getFieldsQuery(SrndQuery, ArrayList<String>) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getFirstChildElement(Element) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getFirstChildOrFail(Element) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getFirstPathElement() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
-
Returns the CharSequence value of a specific QueryText element
- getFuzzyDistance(Token, String) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Determines the similarity distance for the given fuzzy token and term string.
- getFuzzyMinSim() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Get the minimal similarity for fuzzy queries.
- getFuzzyMinSim() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Get the minimal similarity for fuzzy queries.
- getFuzzyMinSim() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Get the minimal similarity for fuzzy queries.
- getFuzzyPrefixLength() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Get the prefix length for fuzzy queries.
- getFuzzyPrefixLength() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Get the prefix length for fuzzy queries.
- getFuzzyPrefixLength() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Get the prefix length for fuzzy queries.
- getFuzzyQuery(String, String, float) - Method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- getFuzzyQuery(String, String, float) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Factory method for generating a query (similar to
QueryParserBase.getWildcardQuery(java.lang.String, java.lang.String)
). - getFuzzyQuery(String, String, float) - Method in class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
- GetImage() - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Returns a string made up of characters from the marked token beginning to the current buffer position.
- GetImage() - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- getIndexReader() - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- getKey() - Method in interface org.apache.lucene.queryparser.flexible.messages.Message
- getKey() - Method in class org.apache.lucene.queryparser.flexible.messages.MessageImpl
- getLocale() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Returns current locale, allowing access by subclasses.
- getLocale() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Returns current locale, allowing access by subclasses.
- getLocale() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Returns current locale, allowing access by subclasses.
- getLocalizedMessage() - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- getLocalizedMessage() - Method in interface org.apache.lucene.queryparser.flexible.messages.Message
- getLocalizedMessage() - Method in class org.apache.lucene.queryparser.flexible.messages.MessageImpl
- getLocalizedMessage(String) - Static method in class org.apache.lucene.queryparser.flexible.messages.NLS
- getLocalizedMessage(String, Object...) - Static method in class org.apache.lucene.queryparser.flexible.messages.NLS
- getLocalizedMessage(String, Locale) - Static method in class org.apache.lucene.queryparser.flexible.messages.NLS
- getLocalizedMessage(String, Locale, Object...) - Static method in class org.apache.lucene.queryparser.flexible.messages.NLS
- getLocalizedMessage(Locale) - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- getLocalizedMessage(Locale) - Method in interface org.apache.lucene.queryparser.flexible.messages.Message
- getLocalizedMessage(Locale) - Method in class org.apache.lucene.queryparser.flexible.messages.MessageImpl
- getLowerBound() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.RangeQueryNode
- getLowerBound() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
-
Returns the lower bound node.
- getLuceneTerm(String) - Method in class org.apache.lucene.queryparser.surround.query.SrndTermQuery
- getMaxBasicQueries() - Method in class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- getMessage() - Method in error org.apache.lucene.queryparser.classic.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMessage() - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- getMessage() - Method in error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMessage() - Method in error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMessageObject() - Method in error org.apache.lucene.queryparser.flexible.core.QueryNodeError
- getMessageObject() - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- getMessageObject() - Method in interface org.apache.lucene.queryparser.flexible.messages.NLSException
- getMinimumMatchingElements() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AnyQueryNode
- getMinSimilarity() - Method in class org.apache.lucene.queryparser.flexible.standard.config.FuzzyConfig
- getModifier() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode
- getMultiFieldQuery(List<Query>) - Method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
-
Creates a multifield query
- getMultiFields() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Returns the fields used to expand the query when the field for a certain query is
null
- getMultiTermRewriteMethod() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- getMultiTermRewriteMethod() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
- getMultiTermRewriteMethod() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- getNextToken() - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Get the next Token.
- getNextToken() - Method in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Get the next Token.
- getNextToken() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Get the next Token.
- getNextToken() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Get the next Token.
- getNextToken() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Get the next Token.
- getNextToken() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Get the next Token.
- getNonBlankTextOrFail(Element) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getNotQuery(List<SrndQuery>, Token) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getNrQueriesMade() - Method in class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- getNrSubQueries() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- getNumberFormat() - Method in class org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
- getNumberFormat() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
-
Returns the
NumberFormat
used to convert the value toString
. - getOpDistance() - Method in class org.apache.lucene.queryparser.surround.query.DistanceQuery
- getOpDistance(String) - Static method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getOperatorName() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- getOrQuery(List<SrndQuery>, boolean, Token) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getParent() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
- getParent() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- getPathElement(int) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
-
Returns the a specific QueryText element
- getPathElements() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
-
Returns the a List with all QueryText elements
- getPathElements(int) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
-
Returns a List QueryText element from position startIndex
- getPhraseSlop() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Gets the default slop for phrases.
- getPhraseSlop() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Gets the default slop for phrases.
- getPhraseSlop() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Gets the default slop for phrases.
- getPointsConfig() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointRangeQueryNode
-
Returns the
PointsConfig
associated with the lower and upper bounds. - getPointsConfigMap() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- getPositionIncrement() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- getPrefix() - Method in class org.apache.lucene.queryparser.surround.query.SrndPrefixQuery
- getPrefixLength() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FuzzyQueryNode
- getPrefixLength() - Method in class org.apache.lucene.queryparser.flexible.standard.config.FuzzyConfig
- getPrefixQuery(String, boolean) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getPrefixQuery(String, String) - Method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- getPrefixQuery(String, String) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Factory method for generating a query (similar to
QueryParserBase.getWildcardQuery(java.lang.String, java.lang.String)
). - getPrefixSeparator() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- getProximityType() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- getQuery() - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- getQuery() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.IntervalQueryNode
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.BooleanQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.ConstantScoreQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.DisjunctionMaxQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.FuzzyLikeThisQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.LikeThisQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.MatchAllDocsQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.PointRangeQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.RangeQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanBuilderBase
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanQueryBuilderFactory
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.TermQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.TermsQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.UserInputQueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.CoreParser
- getQuery(Element) - Method in interface org.apache.lucene.queryparser.xml.QueryBuilder
- getQuery(Element) - Method in class org.apache.lucene.queryparser.xml.QueryBuilderFactory
- getQueryBuilder() - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Returns the query builder used to build a object from the query node tree.
- getQueryBuilder(String) - Method in class org.apache.lucene.queryparser.xml.QueryBuilderFactory
- getQueryConfigHandler() - Method in interface org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessor
-
Returns the
QueryConfigHandler
associated to the query tree if any, otherwise it returnsnull
- getQueryConfigHandler() - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
-
For reference about this method check:
QueryNodeProcessor.getQueryConfigHandler()
. - getQueryConfigHandler() - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
-
For reference about this method check:
QueryNodeProcessor.getQueryConfigHandler()
. - getQueryConfigHandler() - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Returns the query configuration handler, which is used during the query node tree processing.
- getQueryConfigHandler() - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- getQueryNodeProcessor() - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Returns the processor object used to process the query node tree, it returns
null
if no processor is used. - getQuote() - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- getRangeQuery(String, String, String, boolean, boolean) - Method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- getRangeQuery(String, String, String, boolean, boolean) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- getRangeQuery(String, String, String, boolean, boolean) - Method in class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
- getRawQueryString() - Method in class org.apache.lucene.queryparser.ext.ExtensionQuery
-
Returns the raw extension query string
- getRegexpQuery(String, String) - Method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- getRegexpQuery(String, String) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Factory method for generating a query.
- getSchema() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.OpaqueQueryNode
- getSimilarity() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FuzzyQueryNode
- getSpanNearQuery(IndexReader, String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.DistanceQuery
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.BoostingTermBuilder
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanFirstBuilder
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanNearBuilder
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanNotBuilder
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanOrBuilder
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanOrTermsBuilder
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanPositionRangeBuilder
- getSpanQuery(Element) - Method in interface org.apache.lucene.queryparser.xml.builders.SpanQueryBuilder
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanQueryBuilderFactory
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.builders.SpanTermBuilder
- getSpanQuery(Element) - Method in class org.apache.lucene.queryparser.xml.CoreParser
- getSplitOnWhitespace() - Method in class org.apache.lucene.queryparser.classic.QueryParser
- getSubQueriesIterator() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- getSubQuery(int) - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- GetSuffix(int) - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Returns an array of characters that make up the suffix of length 'len' for the currently matched token.
- GetSuffix(int) - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- getSuffixOperator() - Method in class org.apache.lucene.queryparser.surround.query.SrndPrefixQuery
- getSyntaxParser() - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Returns the text parser used to build a query node tree from a query string.
- getTag(String) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
Returns object stored under that tag name
- getTag(String) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- getTagMap() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
Returns a map containing all tags attached to this query node.
- getTagMap() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
-
Returns a map containing all tags attached to this query node.
- getTermEscaped(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- getTermEscaped(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
-
This method is used to get the value converted to
String
and escaped using the givenEscapeQuerySyntax
. - getTermEscapeQuoted(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- getTermQuery(String, boolean) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getTermText() - Method in class org.apache.lucene.queryparser.surround.query.SrndTermQuery
- getText() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
-
Returns the term.
- getText() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.TextableQueryNode
- getText() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- getText(Node) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- getTextAsString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- getTimeZone() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- getTimeZone() - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
- getTimeZone() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- getToken(int) - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Get the specific Token.
- getToken(int) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Get the specific Token.
- getToken(int) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Get the specific Token.
- getTopLevelParser() - Method in class org.apache.lucene.queryparser.ext.ExtensionQuery
-
Returns the top level parser which created this
ExtensionQuery
- getTruncated() - Method in class org.apache.lucene.queryparser.surround.query.SrndTruncQuery
- getTruncQuery(String) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- getType() - Method in class org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
-
Returns the numeric type used to index the numeric values
- getUpperBound() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.RangeQueryNode
- getUpperBound() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
-
Returns the upper bound node.
- getValue() - Method in class org.apache.lucene.queryparser.classic.Token
-
An optional attribute value of the Token.
- getValue() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.BoostQueryNode
-
Returns the boost value.
- getValue() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- getValue() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.OpaqueQueryNode
- getValue() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText
- getValue() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PhraseSlopQueryNode
- getValue() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.SlopQueryNode
- getValue() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.ValueQueryNode
- getValue() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
-
Returns the numeric value as
Number
. - getValue() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
An optional attribute value of the Token.
- getValue() - Method in class org.apache.lucene.queryparser.surround.parser.Token
-
An optional attribute value of the Token.
- getWeight() - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- getWeightOperator() - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- getWeightString() - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- getWildcardQuery(String, String) - Method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
- getWildcardQuery(String, String) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Factory method for generating a query.
- getWildcardQuery(String, String) - Method in class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
- groupQueryNode - Variable in class org.apache.lucene.queryparser.flexible.standard.nodes.MinShouldMatchNode
- GroupQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
GroupQueryNode
represents a location where the original user typed real parenthesis on the query string. - GroupQueryNode(QueryNode) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.GroupQueryNode
-
This QueryNode is used to identify parenthesis on the original query string
- GroupQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds no object, it only returns the
Query
object set on theGroupQueryNode
object using aQueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
tag. - GroupQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.GroupQueryNodeBuilder
H
- has(ConfigurationKey<T>) - Method in class org.apache.lucene.queryparser.flexible.core.config.AbstractQueryConfig
-
Returns true if there is a value set with the given key, otherwise false.
- hashCode() - Method in class org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
- hashCode() - Method in class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- hashCode() - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
-
For subclasses of
SrndQuery
within the packageorg.apache.lucene.queryparser.surround.query
it is not necessary to override this method,
I
- image - Variable in class org.apache.lucene.queryparser.classic.Token
-
The string image of the token.
- image - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
The string image of the token.
- image - Variable in class org.apache.lucene.queryparser.surround.parser.Token
-
The string image of the token.
- indexOf(Object) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- infixToString(StringBuilder) - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- init(String, Analyzer) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Initializes a query parser.
- initializeMessages(String, Class<? extends NLS>) - Static method in class org.apache.lucene.queryparser.flexible.messages.NLS
-
Initialize a given class with the message bundle Keys Should be called from a class that extends NLS in a static block at class load time.
- input_stream - Variable in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
- input_stream - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
- input_stream - Variable in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
- insertChild(Element, String, String) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
- IntervalFunction - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Representation of an interval function that can be converted to
IntervalsSource
. - IntervalFunction() - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.IntervalFunction
- IntervalQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
Node that represents an interval function.
- IntervalQueryNode(String, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.IntervalQueryNode
- IntervalQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
Query
from anIntervalQueryNode
. - IntervalQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.IntervalQueryNodeBuilder
- IntervalQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor makes sure that
StandardQueryConfigHandler.ConfigurationKeys.ANALYZER
is defined in theQueryConfigHandler
and injects this analyzer intoIntervalQueryNode
s. - IntervalQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.IntervalQueryNodeProcessor
- INVALID_LEXICAL_STATE - Static variable in error org.apache.lucene.queryparser.classic.TokenMgrError
-
Tried to change to an invalid lexical state.
- INVALID_LEXICAL_STATE - Static variable in error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
Tried to change to an invalid lexical state.
- INVALID_LEXICAL_STATE - Static variable in error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
Tried to change to an invalid lexical state.
- INVALID_SYNTAX - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- INVALID_SYNTAX_CANNOT_PARSE - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- INVALID_SYNTAX_ESCAPE_CHARACTER - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- INVALID_SYNTAX_ESCAPE_NONE_HEX_UNICODE - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- INVALID_SYNTAX_ESCAPE_UNICODE_TRUNCATION - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- INVALID_SYNTAX_FUZZY_EDITS - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- INVALID_SYNTAX_FUZZY_LIMITS - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- isDefaultBooleanQueryNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- isDefaultField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
-
This method is use toQueryString to detect if fld is the default field
- isEmpty() - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- isFieldsSubQueryAcceptable() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- isFieldsSubQueryAcceptable() - Method in class org.apache.lucene.queryparser.surround.query.FieldsQuery
- isFieldsSubQueryAcceptable() - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- isInOrder() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- isLeaf() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
verify if a node is a Leaf node
- isLeaf() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- isLowerInclusive() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.RangeQueryNode
- isLowerInclusive() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
-
Returns whether the lower bound is inclusive or exclusive.
- isOperatorInfix() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- isRoot() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- isUpperInclusive() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.RangeQueryNode
- isUpperInclusive() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
-
Returns whether the upper bound is inclusive or exclusive.
- isWeighted() - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- iterator() - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
J
- jj_nt - Variable in class org.apache.lucene.queryparser.classic.QueryParser
-
Next token.
- jj_nt - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Next token.
- jj_nt - Variable in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Next token.
- jjFillToken() - Method in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
- jjFillToken() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
- jjFillToken() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
- jjnewLexState - Static variable in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Lex State array.
- jjnewLexState - Static variable in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Lex State array.
- jjnewLexState - Static variable in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Lex State array.
- jjstrLiteralImages - Static variable in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Token literal values.
- jjstrLiteralImages - Static variable in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Token literal values.
- jjstrLiteralImages - Static variable in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Token literal values.
K
- kind - Variable in class org.apache.lucene.queryparser.classic.Token
-
An integer that describes the kind of this token.
- kind - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
An integer that describes the kind of this token.
- kind - Variable in class org.apache.lucene.queryparser.surround.parser.Token
-
An integer that describes the kind of this token.
L
- lastIndexOf(Object) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- LEADING_WILDCARD_NOT_ALLOWED - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- length() - Method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
- LEXICAL_ERROR - Static variable in error org.apache.lucene.queryparser.classic.TokenMgrError
-
Lexical error occurred.
- LEXICAL_ERROR - Static variable in error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
Lexical error occurred.
- LEXICAL_ERROR - Static variable in error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
Lexical error occurred.
- LexicalErr(boolean, int, int, int, String, int) - Static method in error org.apache.lucene.queryparser.classic.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- LexicalErr(boolean, int, int, int, String, int) - Static method in error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- LexicalErr(boolean, int, int, int, String, int) - Static method in error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- lexStateNames - Static variable in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Lexer state names.
- lexStateNames - Static variable in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Lexer state names.
- lexStateNames - Static variable in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Lexer state names.
- LikeThisQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
MoreLikeThisQuery
- LikeThisQueryBuilder(Analyzer, String[]) - Constructor for class org.apache.lucene.queryparser.xml.builders.LikeThisQueryBuilder
- listIterator() - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- listIterator(int) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- loadXML(Reader) - Static method in class org.apache.lucene.queryparser.xml.DOMUtils
-
Helper method to parse an XML file into a DOM tree, given a reader.
- LOCALE - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the
Locale
used when parsing the query - logicalAnd(QueryNode, QueryNode) - Static method in class org.apache.lucene.queryparser.flexible.core.util.QueryNodeOperation
-
perform a logical and of 2 QueryNode trees.
- LOOP_DETECTED - Static variable in error org.apache.lucene.queryparser.classic.TokenMgrError
-
Detected (and bailed out of) an infinite loop in the token manager.
- LOOP_DETECTED - Static variable in error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
Detected (and bailed out of) an infinite loop in the token manager.
- LOOP_DETECTED - Static variable in error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
Detected (and bailed out of) an infinite loop in the token manager.
- LPAREN - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- LPAREN - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- LPAREN - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- LUCENE_QUERY_CONVERSION_ERROR - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
M
- makeLuceneQueryField(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- makeLuceneQueryFieldNoBoost(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.AndQuery
- makeLuceneQueryFieldNoBoost(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.DistanceQuery
- makeLuceneQueryFieldNoBoost(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.FieldsQuery
- makeLuceneQueryFieldNoBoost(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.NotQuery
- makeLuceneQueryFieldNoBoost(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.OrQuery
- makeLuceneQueryFieldNoBoost(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- makeLuceneQueryFieldNoBoost(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- makeLuceneQueryNoBoost(BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.FieldsQuery
- makeLuceneSubQueriesField(String, BasicQueryFactory) - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- makeSpanClause() - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- MatchAllDocsQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
MatchAllDocsQuery
- MatchAllDocsQueryBuilder() - Constructor for class org.apache.lucene.queryparser.xml.builders.MatchAllDocsQueryBuilder
- MatchAllDocsQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
MatchAllDocsQueryNode
indicates that a query node tree or subtree will match all documents if executed in the index. - MatchAllDocsQueryNode() - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.MatchAllDocsQueryNode
- MatchAllDocsQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
MatchAllDocsQuery
object from aMatchAllDocsQueryNode
object. - MatchAllDocsQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.MatchAllDocsQueryNodeBuilder
- MatchAllDocsQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor converts every
WildcardQueryNode
that is "*:*" toMatchAllDocsQueryNode
. - MatchAllDocsQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.MatchAllDocsQueryNodeProcessor
- MatchNoDocsQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
MatchNoDocsQueryNode
indicates that a query node tree or subtree will not match any documents if executed in the index. - MatchNoDocsQueryNode() - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.MatchNoDocsQueryNode
- MatchNoDocsQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
MatchNoDocsQuery
object from aMatchNoDocsQueryNode
object. - MatchNoDocsQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.MatchNoDocsQueryNodeBuilder
- MaxGaps - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.maxgaps(int, IntervalsSource)
. - MaxGaps(int, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.MaxGaps
- MAXGAPS - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- MaxWidth - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.maxwidth(int, IntervalsSource)
. - MaxWidth(int, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.MaxWidth
- MAXWIDTH - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- message - Variable in exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- Message - Interface in org.apache.lucene.queryparser.flexible.messages
-
Message Interface for a lazy loading.
- MessageImpl - Class in org.apache.lucene.queryparser.flexible.messages
-
Default implementation of Message interface.
- MessageImpl(String) - Constructor for class org.apache.lucene.queryparser.flexible.messages.MessageImpl
- MessageImpl(String, Object...) - Constructor for class org.apache.lucene.queryparser.flexible.messages.MessageImpl
- minShouldMatch - Variable in class org.apache.lucene.queryparser.flexible.standard.nodes.MinShouldMatchNode
- MinShouldMatchNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
Node that represents a minimum-should-match restriction on a
GroupQueryNode
. - MinShouldMatchNode(int, GroupQueryNode) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.MinShouldMatchNode
- MinShouldMatchNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
BooleanQuery
from aMinShouldMatchNode
. - MinShouldMatchNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.MinShouldMatchNodeBuilder
- MINUS - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- MINUS - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- MOD_NONE - org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode.Modifier
- MOD_NOT - org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode.Modifier
- MOD_REQ - org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode.Modifier
- ModifierQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
ModifierQueryNode
indicates the modifier value (+,-,?,NONE) for each term on the query string. - ModifierQueryNode(QueryNode, ModifierQueryNode.Modifier) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode
-
Used to store the modifier value on the original query string
- ModifierQueryNode.Modifier - Enum in org.apache.lucene.queryparser.flexible.core.nodes
-
Modifier type: such as required (REQ), prohibited (NOT)
- ModifierQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds no object, it only returns the
Query
object set on theModifierQueryNode
object using aQueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
tag. - ModifierQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.ModifierQueryNodeBuilder
- Modifiers() - Method in class org.apache.lucene.queryparser.classic.QueryParser
- MULTI_FIELDS - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the fields a query should be expanded to when the field is
null
- MULTI_TERM_REWRITE_METHOD - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the
MultiTermQuery.RewriteMethod
used when creating queries - MultiFieldQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor is used to expand terms so the query looks for the same term in different fields.
- MultiFieldQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.MultiFieldQueryNodeProcessor
- MultiFieldQueryParser - Class in org.apache.lucene.queryparser.classic
-
A QueryParser which constructs queries to search multiple fields.
- MultiFieldQueryParser(String[], Analyzer) - Constructor for class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
-
Creates a MultiFieldQueryParser.
- MultiFieldQueryParser(String[], Analyzer, Map<String, Float>) - Constructor for class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
-
Creates a MultiFieldQueryParser.
- MultiPhraseQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
A
MultiPhraseQueryNode
indicates that its children should be used to build aMultiPhraseQuery
instead ofPhraseQuery
. - MultiPhraseQueryNode() - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.MultiPhraseQueryNode
- MultiPhraseQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
MultiPhraseQuery
object from aMultiPhraseQueryNode
object. - MultiPhraseQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.MultiPhraseQueryNodeBuilder
- MultiTerm(String, List<BooleanClause>) - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Returns the first query if splitOnWhitespace=true or otherwise the entire produced query
- MultiTermRewriteMethodProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor instates the default
MultiTermQuery.RewriteMethod
,MultiTermQuery.CONSTANT_SCORE_BLENDED_REWRITE
, for multi-term query nodes. - MultiTermRewriteMethodProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.MultiTermRewriteMethodProcessor
N
- N - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- NEAR_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
NEAR
operators: (~) on phrases - newBooleanClause(Query, BooleanClause.Occur) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Builds a new BooleanClause instance
- newDefaultQuery(String) - Method in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Factory method to generate a standard query (no phrase or prefix operators).
- newFieldQuery(Analyzer, String, String, boolean) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- newFuzzyQuery(String, int) - Method in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Factory method to generate a fuzzy query.
- newFuzzyQuery(Term, float, int) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Builds a new FuzzyQuery instance
- newInstance() - Static method in class org.apache.lucene.queryparser.flexible.core.config.ConfigurationKey
-
Creates a new instance.
- newMatchAllDocsQuery() - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Builds a new MatchAllDocsQuery instance
- newPhraseQuery(String, int) - Method in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Factory method to generate a phrase query with slop.
- newPrefixQuery(String) - Method in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Factory method to generate a prefix query.
- newPrefixQuery(Term) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Builds a new PrefixQuery instance
- newRangeQuery(String, String, String, boolean, boolean) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Builds a new
TermRangeQuery
instance - newRangeQuery(String, String, String, boolean, boolean) - Method in class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
- newRegexpQuery(Term) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Builds a new RegexpQuery instance
- newSpanTermQuery(Term) - Method in class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- newTermQuery(Term) - Method in class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- newTermQuery(Term, float) - Method in class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
- newToken(int) - Static method in class org.apache.lucene.queryparser.classic.Token
- newToken(int) - Static method in class org.apache.lucene.queryparser.flexible.standard.parser.Token
- newToken(int) - Static method in class org.apache.lucene.queryparser.surround.parser.Token
- newToken(int, String) - Static method in class org.apache.lucene.queryparser.classic.Token
-
Returns a new Token object, by default.
- newToken(int, String) - Static method in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
Returns a new Token object, by default.
- newToken(int, String) - Static method in class org.apache.lucene.queryparser.surround.parser.Token
-
Returns a new Token object, by default.
- newWildcardQuery(Term) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Builds a new WildcardQuery instance
- next - Variable in class org.apache.lucene.queryparser.classic.Token
-
A reference to the next regular (non-special) token from the input stream.
- next - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
A reference to the next regular (non-special) token from the input stream.
- next - Variable in class org.apache.lucene.queryparser.surround.parser.Token
-
A reference to the next regular (non-special) token from the input stream.
- NLS - Class in org.apache.lucene.queryparser.flexible.messages
-
MessageBundles classes extend this class, to implement a bundle.
- NLS() - Constructor for class org.apache.lucene.queryparser.flexible.messages.NLS
- NLSException - Interface in org.apache.lucene.queryparser.flexible.messages
-
Interface that exceptions should implement to support lazy loading of messages.
- NoChildOptimizationQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.core.processors
-
A
NoChildOptimizationQueryNodeProcessor
removes every BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or ModifierQueryNode that do not have a valid children. - NoChildOptimizationQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.core.processors.NoChildOptimizationQueryNodeProcessor
- NODE_ACTION_NOT_SUPPORTED - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- NON_OVERLAPPING - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- NonOverlapping - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.nonOverlapping(IntervalsSource, IntervalsSource)
. - NonOverlapping(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NonOverlapping
- NORMAL - org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax.Type
- NOT - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- NOT - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- NOT - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- NOT_CONTAINED_BY - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- NOT_CONTAINING - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- NOT_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
NOT
operator (-) - NOT_WITHIN - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- NotContainedBy - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.notContainedBy(IntervalsSource, IntervalsSource)
. - NotContainedBy(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotContainedBy
- NotContaining - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.notContaining(IntervalsSource, IntervalsSource)
. - NotContaining(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotContaining
- NoTokenFoundQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
NoTokenFoundQueryNode
is used if a term is convert into no tokens by the tokenizer/lemmatizer/analyzer (null). - NoTokenFoundQueryNode() - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.NoTokenFoundQueryNode
- NotQuery - Class in org.apache.lucene.queryparser.surround.query
-
Factory for prohibited clauses
- NotQuery(List<SrndQuery>, String) - Constructor for class org.apache.lucene.queryparser.surround.query.NotQuery
- NotQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- NotWithin - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.notWithin(IntervalsSource, int, IntervalsSource)
. - NotWithin(IntervalFunction, int, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotWithin
- NQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- NUMBER - org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode.Type
- NUMBER - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- NUMBER - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- NUMBER - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- NUMBER_CLASS_NOT_SUPPORTED_BY_NUMERIC_RANGE_QUERY - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- NumberDateFormat - Class in org.apache.lucene.queryparser.flexible.standard.config
- NumberDateFormat(DateFormat) - Constructor for class org.apache.lucene.queryparser.flexible.standard.config.NumberDateFormat
-
Constructs a
NumberDateFormat
object using the givenDateFormat
. - NUMERIC_CANNOT_BE_EMPTY - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- numericConfig - Variable in class org.apache.lucene.queryparser.flexible.standard.nodes.PointRangeQueryNode
O
- OP_COLON - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- OP_EQUAL - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- OP_LESSTHAN - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- OP_LESSTHANEQ - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- OP_MORETHAN - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- OP_MORETHANEQ - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- OpaqueQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
OpaqueQueryNode
is used for specify values that are not supposed to be parsed by the parser. - OpaqueQueryNode(CharSequence, CharSequence) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.OpaqueQueryNode
- OPEN_RANGE_TOKEN - Static variable in class org.apache.lucene.queryparser.flexible.standard.processors.OpenRangeQueryNodeProcessor
- OpenRangeQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
Processes
TermRangeQuery
s with open ranges. - OpenRangeQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.OpenRangeQueryNodeProcessor
- opName - Variable in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- OptionalFields() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- OptionalWeights(SrndQuery) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- Or - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.or(IntervalsSource...)
. - Or(List<IntervalFunction>) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Or
- OR - org.apache.lucene.queryparser.classic.QueryParser.Operator
- OR - org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.Operator
- OR - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- OR - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- OR - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- OR_OPERATOR - Static variable in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Alternative form of QueryParser.Operator.OR
- OR_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
OR
operator (|) - Ordered - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.ordered(IntervalsSource...)
. - Ordered(List<IntervalFunction>) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Ordered
- ORDERED - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- org.apache.lucene.queryparser.charstream - package org.apache.lucene.queryparser.charstream
-
This package contains reusable parts for javacc-generated grammars (query parsers).
- org.apache.lucene.queryparser.classic - package org.apache.lucene.queryparser.classic
-
A simple query parser implemented with JavaCC.
- org.apache.lucene.queryparser.complexPhrase - package org.apache.lucene.queryparser.complexPhrase
-
QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
- org.apache.lucene.queryparser.ext - package org.apache.lucene.queryparser.ext
-
Extendable QueryParser provides a simple and flexible extension mechanism by overloading query field names.
- org.apache.lucene.queryparser.flexible.core - package org.apache.lucene.queryparser.flexible.core
-
Core classes of the flexible query parser framework.
- org.apache.lucene.queryparser.flexible.core.builders - package org.apache.lucene.queryparser.flexible.core.builders
-
Necessary classes to implement query builders.
- org.apache.lucene.queryparser.flexible.core.config - package org.apache.lucene.queryparser.flexible.core.config
-
Base classes used to configure the query processing.
- org.apache.lucene.queryparser.flexible.core.messages - package org.apache.lucene.queryparser.flexible.core.messages
-
Messages usually used by query parser implementations.
- org.apache.lucene.queryparser.flexible.core.nodes - package org.apache.lucene.queryparser.flexible.core.nodes
-
Query nodes commonly used by query parser implementations.
- org.apache.lucene.queryparser.flexible.core.parser - package org.apache.lucene.queryparser.flexible.core.parser
-
Necessary interfaces to implement text parsers.
- org.apache.lucene.queryparser.flexible.core.processors - package org.apache.lucene.queryparser.flexible.core.processors
-
Interfaces and implementations used by query node processors
- org.apache.lucene.queryparser.flexible.core.util - package org.apache.lucene.queryparser.flexible.core.util
-
Utility classes to used with the Query Parser.
- org.apache.lucene.queryparser.flexible.messages - package org.apache.lucene.queryparser.flexible.messages
-
For Native Language Support (NLS), system of software internationalization.
- org.apache.lucene.queryparser.flexible.precedence - package org.apache.lucene.queryparser.flexible.precedence
-
Precedence Query Parser Implementation
- org.apache.lucene.queryparser.flexible.precedence.processors - package org.apache.lucene.queryparser.flexible.precedence.processors
-
Lucene Precedence Query Parser Processors
- org.apache.lucene.queryparser.flexible.standard - package org.apache.lucene.queryparser.flexible.standard
-
Lucene Flexible Query Parser Implementation
- org.apache.lucene.queryparser.flexible.standard.builders - package org.apache.lucene.queryparser.flexible.standard.builders
-
Standard Lucene Query Node Builders.
- org.apache.lucene.queryparser.flexible.standard.config - package org.apache.lucene.queryparser.flexible.standard.config
-
Standard Lucene Query Configuration.
- org.apache.lucene.queryparser.flexible.standard.nodes - package org.apache.lucene.queryparser.flexible.standard.nodes
-
Standard Lucene Query Nodes.
- org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn - package org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
This package contains classes that implement interval function support for the standard syntax parser.
- org.apache.lucene.queryparser.flexible.standard.parser - package org.apache.lucene.queryparser.flexible.standard.parser
-
Lucene Query Parser
- org.apache.lucene.queryparser.flexible.standard.processors - package org.apache.lucene.queryparser.flexible.standard.processors
-
Lucene Query Node Processors.
- org.apache.lucene.queryparser.simple - package org.apache.lucene.queryparser.simple
-
A simple query parser for human-entered queries.
- org.apache.lucene.queryparser.surround.parser - package org.apache.lucene.queryparser.surround.parser
-
This package contains the QueryParser.jj source file for the Surround parser.
- org.apache.lucene.queryparser.surround.query - package org.apache.lucene.queryparser.surround.query
-
This package contains SrndQuery and its subclasses.
- org.apache.lucene.queryparser.xml - package org.apache.lucene.queryparser.xml
-
Parser that produces Lucene Query objects from XML streams.
- org.apache.lucene.queryparser.xml.builders - package org.apache.lucene.queryparser.xml.builders
-
XML Parser factories for different Lucene Query/Filters.
- OrQuery - Class in org.apache.lucene.queryparser.surround.query
-
Factory for disjunctions
- OrQuery(List<SrndQuery>, boolean, String) - Constructor for class org.apache.lucene.queryparser.surround.query.OrQuery
- OrQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- OrQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
OrQueryNode
represents an OR boolean operation performed on a list of nodes. - OrQueryNode(List<QueryNode>) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.OrQueryNode
- Overlapping - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.overlapping(IntervalsSource, IntervalsSource)
. - Overlapping(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Overlapping
- OVERLAPPING - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
P
- Pair(Cur, Cud) - Constructor for class org.apache.lucene.queryparser.ext.Extensions.Pair
-
Creates a new Pair
- PARAGRAPH - org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode.Type
- PARAMETER_VALUE_NOT_SUPPORTED - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- parse(InputStream) - Method in class org.apache.lucene.queryparser.xml.CoreParser
-
Parses the given stream as XML file and returns a
Query
. - parse(CharSequence, CharSequence) - Method in interface org.apache.lucene.queryparser.flexible.core.parser.SyntaxParser
- parse(CharSequence, CharSequence) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Parses a query string, returning a
QueryNode
. - parse(String) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Parses a query string, returning a
Query
. - parse(String) - Method in class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
- parse(String) - Method in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Parses the query text and returns parsed query
- parse(String) - Static method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- parse(String[], String[], Analyzer) - Static method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
-
Parses a query which searches on the fields specified.
- parse(String[], String[], Analyzer) - Static method in class org.apache.lucene.queryparser.flexible.standard.QueryParserUtil
-
Parses a query which searches on the fields specified.
- parse(String[], String[], BooleanClause.Occur[], Analyzer) - Static method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
-
Parses a query, searching on the fields specified.
- parse(String[], String[], BooleanClause.Occur[], Analyzer) - Static method in class org.apache.lucene.queryparser.flexible.standard.QueryParserUtil
-
Parses a query, searching on the fields specified.
- parse(String, String) - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Parses a query string to an object, usually some query object.
In this method the three phases are executed:
1st - the query string is parsed using the text parser returned byQueryParserHelper.getSyntaxParser()
, the result is a query node tree
2nd - the query node tree is processed by the processor returned byQueryParserHelper.getQueryNodeProcessor()
3th - a object is built from the query node tree using the builder returned byQueryParserHelper.getQueryBuilder()
- parse(String, String) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Overrides
QueryParserHelper.parse(String, String)
so it casts the return object toQuery
. - parse(String, String[], BooleanClause.Occur[], Analyzer) - Static method in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
-
Parses a query, searching on the fields specified.
- parse(String, String[], BooleanClause.Occur[], Analyzer) - Static method in class org.apache.lucene.queryparser.flexible.standard.QueryParserUtil
-
Parses a query, searching on the fields specified.
- parse(String, ParsePosition) - Method in class org.apache.lucene.queryparser.flexible.standard.config.NumberDateFormat
- parse(ExtensionQuery) - Method in class org.apache.lucene.queryparser.ext.ParserExtension
-
Processes the given
ExtensionQuery
and returns a correspondingQuery
instance. - parse2(String) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- ParseException - Exception in org.apache.lucene.queryparser.classic
-
This exception is thrown when parse errors are encountered.
- ParseException - Exception in org.apache.lucene.queryparser.flexible.standard.parser
-
This exception is thrown when parse errors are encountered.
- ParseException - Exception in org.apache.lucene.queryparser.surround.parser
-
This exception is thrown when parse errors are encountered.
- ParseException() - Constructor for exception org.apache.lucene.queryparser.classic.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException() - Constructor for exception org.apache.lucene.queryparser.flexible.standard.parser.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException() - Constructor for exception org.apache.lucene.queryparser.surround.parser.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException(String) - Constructor for exception org.apache.lucene.queryparser.classic.ParseException
-
Constructor with message.
- ParseException(String) - Constructor for exception org.apache.lucene.queryparser.surround.parser.ParseException
-
Constructor with message.
- ParseException(Token, int[][], String[]) - Constructor for exception org.apache.lucene.queryparser.classic.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- ParseException(Message) - Constructor for exception org.apache.lucene.queryparser.flexible.standard.parser.ParseException
-
Constructor with message.
- ParseException(Token, int[][], String[]) - Constructor for exception org.apache.lucene.queryparser.flexible.standard.parser.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- ParseException(Token, int[][], String[]) - Constructor for exception org.apache.lucene.queryparser.surround.parser.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- parseFloat(Token) - Static method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
- parseInt(Token) - Static method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
- parser - Variable in class org.apache.lucene.queryparser.xml.CoreParser
- ParserException - Exception in org.apache.lucene.queryparser.xml
-
Thrown when the xml queryparser encounters invalid syntax/configuration.
- ParserException() - Constructor for exception org.apache.lucene.queryparser.xml.ParserException
- ParserException(String) - Constructor for exception org.apache.lucene.queryparser.xml.ParserException
- ParserException(String, Throwable) - Constructor for exception org.apache.lucene.queryparser.xml.ParserException
- ParserException(Throwable) - Constructor for exception org.apache.lucene.queryparser.xml.ParserException
- ParserExtension - Class in org.apache.lucene.queryparser.ext
-
This class represents an extension base class to the Lucene standard
QueryParser
. - ParserExtension() - Constructor for class org.apache.lucene.queryparser.ext.ParserExtension
- PathQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
PathQueryNode
is used to store queries like /company/USA/California /product/shoes/brown. - PathQueryNode(List<PathQueryNode.QueryText>) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
- PathQueryNode.QueryText - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
Term text with a beginning and end position
- Phrase - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.phrase(String...)
. - Phrase(List<IntervalFunction>) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Phrase
- PHRASE - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- PHRASE_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
PHRASE
operator (") - PHRASE_SLOP - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the default phrase slop
- PhraseQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
PhraseQuery
object from aTokenizedPhraseQueryNode
object. - PhraseQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.PhraseQueryNodeBuilder
- PhraseSlopQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
Query node for
PhraseQuery
's slop factor. - PhraseSlopQueryNode(QueryNode, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.PhraseSlopQueryNode
- PhraseSlopQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor removes invalid
SlopQueryNode
objects in the query node tree. - PhraseSlopQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.PhraseSlopQueryNodeProcessor
- PLAINTEXT_FIELD_NAME - Static variable in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- PLUS - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- PLUS - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- PointQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
This query node represents a field query that holds a point value.
- PointQueryNode(CharSequence, Number, NumberFormat) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
-
Creates a
PointQueryNode
object using the given field,Number
value andNumberFormat
used to convert the value toString
. - PointQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor is used to convert
FieldQueryNode
s toPointRangeQueryNode
s. - PointQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.PointQueryNodeProcessor
-
Constructs a
PointQueryNodeProcessor
object. - PointRangeQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Creates a range query across 1D
PointValues
. - PointRangeQueryBuilder() - Constructor for class org.apache.lucene.queryparser.xml.builders.PointRangeQueryBuilder
- PointRangeQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
This query node represents a range query composed by
PointQueryNode
bounds, which means the bound values areNumber
s. - PointRangeQueryNode(PointQueryNode, PointQueryNode, boolean, boolean, PointsConfig) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.PointRangeQueryNode
-
Constructs a
PointRangeQueryNode
object using the givenPointQueryNode
as its bounds andPointsConfig
. - PointRangeQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds
PointValues
range queries out ofPointRangeQueryNode
s. - PointRangeQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.PointRangeQueryNodeBuilder
-
Constructs a
PointRangeQueryNodeBuilder
object. - PointRangeQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor is used to convert
TermRangeQueryNode
s toPointRangeQueryNode
s. - PointRangeQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.PointRangeQueryNodeProcessor
-
Constructs an empty
PointRangeQueryNodeProcessor
object. - POINTS_CONFIG - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set a field to its
PointsConfig
. - POINTS_CONFIG_MAP - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
Key used to set the
PointsConfig
inFieldConfig
for point fields. - PointsConfig - Class in org.apache.lucene.queryparser.flexible.standard.config
-
This class holds the configuration used to parse numeric queries and create
PointValues
queries. - PointsConfig(NumberFormat, Class<? extends Number>) - Constructor for class org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
-
Constructs a
PointsConfig
object. - PointsConfigListener - Class in org.apache.lucene.queryparser.flexible.standard.config
-
This listener is used to listen to
FieldConfig
requests inQueryConfigHandler
and addStandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG
based on theStandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG_MAP
set in theQueryConfigHandler
. - PointsConfigListener(QueryConfigHandler) - Constructor for class org.apache.lucene.queryparser.flexible.standard.config.PointsConfigListener
-
Constructs a
PointsConfigListener
object using the givenQueryConfigHandler
. - positionIncrement - Variable in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
-
The term's position increment.
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.NoChildOptimizationQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
-
This method is invoked for every node when walking up the tree.
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.RemoveDeletedQueryNodesProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.precedence.processors.BooleanModifiersQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.AllowLeadingWildcardProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.AnalyzerQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanSingleChildOptimizationQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BoostQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.DefaultPhraseSlopQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.FuzzyQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.IntervalQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MatchAllDocsQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MultiFieldQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MultiTermRewriteMethodProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.OpenRangeQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PhraseSlopQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PointQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PointRangeQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.RegexpQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.RemoveEmptyNonLeafQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.TermRangeQueryNodeProcessor
- postProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.WildcardQueryNodeProcessor
- PRECEDENCE_OPERATORS - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
PRECEDENCE
operators:(
and)
- PrecedenceQueryNodeProcessorPipeline - Class in org.apache.lucene.queryparser.flexible.precedence.processors
-
This processor pipeline extends
StandardQueryNodeProcessorPipeline
and enables boolean precedence on it. - PrecedenceQueryNodeProcessorPipeline(QueryConfigHandler) - Constructor for class org.apache.lucene.queryparser.flexible.precedence.processors.PrecedenceQueryNodeProcessorPipeline
- PrecedenceQueryParser - Class in org.apache.lucene.queryparser.flexible.precedence
-
This query parser works exactly as the standard query parser (
StandardQueryParser
), except that it respect the boolean precedence, so <a AND b OR c AND d> is parsed to <(+a +b) (+c +d)> instead of <+a +b +c +d>. - PrecedenceQueryParser() - Constructor for class org.apache.lucene.queryparser.flexible.precedence.PrecedenceQueryParser
- PrecedenceQueryParser(Analyzer) - Constructor for class org.apache.lucene.queryparser.flexible.precedence.PrecedenceQueryParser
- PREFIX_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
PREFIX
operator (*) - PrefixOperatorQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- PREFIXTERM - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- prefixToString(StringBuilder) - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- PrefixWildcardQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
A
PrefixWildcardQueryNode
represents wildcardquery that matches abc* or *. - PrefixWildcardQueryNode(CharSequence, CharSequence, int, int) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.PrefixWildcardQueryNode
- PrefixWildcardQueryNode(FieldQueryNode) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.PrefixWildcardQueryNode
- PrefixWildcardQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
PrefixQuery
object from aPrefixWildcardQueryNode
object. - PrefixWildcardQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.PrefixWildcardQueryNodeBuilder
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.NoChildOptimizationQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
-
This method is invoked for every node when walking down the tree.
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.RemoveDeletedQueryNodesProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.precedence.processors.BooleanModifiersQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.AllowLeadingWildcardProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.AnalyzerQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanSingleChildOptimizationQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BoostQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.DefaultPhraseSlopQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.FuzzyQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.IntervalQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MatchAllDocsQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MultiFieldQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MultiTermRewriteMethodProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.OpenRangeQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PhraseSlopQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PointQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PointRangeQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.RegexpQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.RemoveEmptyNonLeafQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.TermRangeQueryNodeProcessor
- preProcessNode(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.WildcardQueryNodeProcessor
- PrimaryQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- process(QueryNode) - Method in interface org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessor
-
Processes a query node tree.
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
-
For reference about this method check:
QueryNodeProcessor.process(QueryNode)
. - process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.RemoveDeletedQueryNodesProcessor
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.precedence.processors.BooleanModifiersQueryNodeProcessor
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.AllowLeadingWildcardProcessor
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.AnalyzerQueryNodeProcessor
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.DefaultPhraseSlopQueryNodeProcessor
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.IntervalQueryNodeProcessor
- process(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.RemoveEmptyNonLeafQueryNodeProcessor
- processChildren(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
-
This method is called every time a child is processed.
- processChildren(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- processChildren(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.DefaultPhraseSlopQueryNodeProcessor
- processChildren(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MultiFieldQueryNodeProcessor
- ProximityQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
ProximityQueryNode
represents a query where the terms should meet specific distance conditions. - ProximityQueryNode(List<QueryNode>, CharSequence, ProximityQueryNode.Type, boolean) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- ProximityQueryNode(List<QueryNode>, CharSequence, ProximityQueryNode.Type, int, boolean) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- ProximityQueryNode.ProximityType - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
utility class containing the distance condition and number
- ProximityQueryNode.Type - Enum in org.apache.lucene.queryparser.flexible.core.nodes
-
Distance condition: PARAGRAPH, SENTENCE, or NUMBER
- ProximityType(ProximityQueryNode.Type) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode.ProximityType
- ProximityType(ProximityQueryNode.Type, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode.ProximityType
Q
- queries - Variable in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- Query(String) - Method in class org.apache.lucene.queryparser.classic.QueryParser
- QUERY_TREE_BUILDER_TAGID - Static variable in class org.apache.lucene.queryparser.flexible.core.builders.QueryTreeBuilder
-
This tag is used to tag the nodes in a query tree with the built objects produced from their own associated builder.
- QueryBuilder - Interface in org.apache.lucene.queryparser.flexible.core.builders
-
This interface is used by implementors classes that builds some kind of object from a query tree.
- QueryBuilder - Interface in org.apache.lucene.queryparser.xml
-
Implemented by objects that produce Lucene Query objects from XML streams.
- QueryBuilderFactory - Class in org.apache.lucene.queryparser.xml
-
Factory for
QueryBuilder
- QueryBuilderFactory() - Constructor for class org.apache.lucene.queryparser.xml.QueryBuilderFactory
- QueryConfigHandler - Class in org.apache.lucene.queryparser.flexible.core.config
-
This class can be used to hold any query configuration and no field configuration.
- QueryConfigHandler() - Constructor for class org.apache.lucene.queryparser.flexible.core.config.QueryConfigHandler
- queryFactory - Variable in class org.apache.lucene.queryparser.xml.CoreParser
- QueryNode - Interface in org.apache.lucene.queryparser.flexible.core.nodes
-
A
QueryNode
is a interface implemented by all nodes on a QueryNode tree. - QueryNodeError - Error in org.apache.lucene.queryparser.flexible.core
-
Error class with NLS support
- QueryNodeError(Throwable) - Constructor for error org.apache.lucene.queryparser.flexible.core.QueryNodeError
- QueryNodeError(Message) - Constructor for error org.apache.lucene.queryparser.flexible.core.QueryNodeError
- QueryNodeError(Message, Throwable) - Constructor for error org.apache.lucene.queryparser.flexible.core.QueryNodeError
- QueryNodeException - Exception in org.apache.lucene.queryparser.flexible.core
-
This exception should be thrown if something wrong happens when dealing with
QueryNode
s. - QueryNodeException(Throwable) - Constructor for exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- QueryNodeException(Message) - Constructor for exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- QueryNodeException(Message, Throwable) - Constructor for exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- QueryNodeImpl - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
QueryNodeImpl
is the default implementation of the interfaceQueryNode
- QueryNodeImpl() - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- QueryNodeOperation - Class in org.apache.lucene.queryparser.flexible.core.util
-
Allow joining 2 QueryNode Trees, into one.
- QueryNodeParseException - Exception in org.apache.lucene.queryparser.flexible.core
-
This should be thrown when an exception happens during the query parsing from string to the query node tree.
- QueryNodeParseException(Throwable) - Constructor for exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- QueryNodeParseException(Message) - Constructor for exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- QueryNodeParseException(Message, Throwable) - Constructor for exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- QueryNodeProcessor - Interface in org.apache.lucene.queryparser.flexible.core.processors
-
A
QueryNodeProcessor
is an interface for classes that process aQueryNode
tree. - QueryNodeProcessorImpl - Class in org.apache.lucene.queryparser.flexible.core.processors
-
This is a default implementation for the
QueryNodeProcessor
interface, it's an abstract class, so it should be extended by classes that want to process aQueryNode
tree. - QueryNodeProcessorImpl() - Constructor for class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
- QueryNodeProcessorImpl(QueryConfigHandler) - Constructor for class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
- QueryNodeProcessorPipeline - Class in org.apache.lucene.queryparser.flexible.core.processors
-
A
QueryNodeProcessorPipeline
class should be used to build a query node processor pipeline. - QueryNodeProcessorPipeline() - Constructor for class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
-
Constructs an empty query node processor pipeline.
- QueryNodeProcessorPipeline(QueryConfigHandler) - Constructor for class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
-
Constructs with a
QueryConfigHandler
object. - QueryParser - Class in org.apache.lucene.queryparser.classic
-
This class is generated by JavaCC.
- QueryParser - Class in org.apache.lucene.queryparser.surround.parser
-
This class is generated by JavaCC.
- QueryParser() - Constructor for class org.apache.lucene.queryparser.surround.parser.QueryParser
- QueryParser(String, Analyzer) - Constructor for class org.apache.lucene.queryparser.classic.QueryParser
-
Create a query parser.
- QueryParser(CharStream) - Constructor for class org.apache.lucene.queryparser.classic.QueryParser
-
Constructor with user supplied CharStream.
- QueryParser(CharStream) - Constructor for class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Constructor with user supplied CharStream.
- QueryParser(QueryParserTokenManager) - Constructor for class org.apache.lucene.queryparser.classic.QueryParser
-
Constructor with generated Token Manager.
- QueryParser(QueryParserTokenManager) - Constructor for class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Constructor with generated Token Manager.
- QueryParser.Operator - Enum in org.apache.lucene.queryparser.classic
-
The default operator for parsing queries.
- QueryParserBase - Class in org.apache.lucene.queryparser.classic
-
This class is overridden by QueryParser in QueryParser.jj and acts to separate the majority of the Java code from the .jj grammar file.
- QueryParserBase() - Constructor for class org.apache.lucene.queryparser.classic.QueryParserBase
- QueryParserConstants - Interface in org.apache.lucene.queryparser.classic
-
Token literal values and constants.
- QueryParserConstants - Interface in org.apache.lucene.queryparser.surround.parser
-
Token literal values and constants.
- QueryParserHelper - Class in org.apache.lucene.queryparser.flexible.core
-
This class is a helper for the query parser framework, it does all the three query parser phrases at once: text parsing, query processing and query building.
- QueryParserHelper(QueryConfigHandler, SyntaxParser, QueryNodeProcessor, QueryBuilder) - Constructor for class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Creates a query parser helper object using the specified configuration, text parser, processor and builder.
- QueryParserMessages - Class in org.apache.lucene.queryparser.flexible.core.messages
-
Flexible Query Parser message bundle class
- QueryParserTokenManager - Class in org.apache.lucene.queryparser.classic
-
Token Manager.
- QueryParserTokenManager - Class in org.apache.lucene.queryparser.surround.parser
-
Token Manager.
- QueryParserTokenManager(CharStream) - Constructor for class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Constructor.
- QueryParserTokenManager(CharStream) - Constructor for class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Constructor.
- QueryParserTokenManager(CharStream, int) - Constructor for class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Constructor.
- QueryParserTokenManager(CharStream, int) - Constructor for class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Constructor.
- QueryParserUtil - Class in org.apache.lucene.queryparser.flexible.standard
-
This class defines utility methods to (help) parse query strings into
Query
objects. - QueryParserUtil() - Constructor for class org.apache.lucene.queryparser.flexible.standard.QueryParserUtil
- QueryText(CharSequence, int, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText
- QueryTreeBuilder - Class in org.apache.lucene.queryparser.flexible.core.builders
-
This class should be used when there is a builder for each type of node.
- QueryTreeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.core.builders.QueryTreeBuilder
-
QueryTreeBuilder
constructor. - QUOTED - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- QUOTED - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- QUOTED - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- QuotedFieldQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
QuotedFieldQueryNode
represents phrase query. - QuotedFieldQueryNode(CharSequence, CharSequence, int, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.QuotedFieldQueryNode
R
- Range - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
Lexical state.
- Range - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
Lexical state.
- RANGE_GOOP - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- RANGE_GOOP - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- RANGE_QUOTED - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- RANGE_QUOTED - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- RANGE_TO - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- RANGE_TO - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- RANGEEX_END - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- RANGEEX_END - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- RANGEEX_START - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- RANGEEX_START - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- RANGEIN_END - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- RANGEIN_END - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- RANGEIN_START - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- RANGEIN_START - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- RangeQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
TermRangeQuery
- RangeQueryBuilder() - Constructor for class org.apache.lucene.queryparser.xml.builders.RangeQueryBuilder
- RangeQueryNode<T extends FieldValuePairQueryNode<?>> - Interface in org.apache.lucene.queryparser.flexible.core.nodes
-
This interface should be implemented by a
QueryNode
that represents some kind of range query. - readChar() - Method in interface org.apache.lucene.queryparser.charstream.CharStream
-
Returns the next character from the selected input.
- readChar() - Method in class org.apache.lucene.queryparser.charstream.FastCharStream
- recompose(List<SrndQuery>) - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- RegexpQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
A
RegexpQueryNode
representsRegexpQuery
query Examples: /[a-z]|[0-9]/ - RegexpQueryNode(CharSequence, CharSequence) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- RegexpQueryNode(CharSequence, CharSequence, int, int) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- RegexpQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
RegexpQuery
object from aRegexpQueryNode
object. - RegexpQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.RegexpQueryNodeBuilder
- RegexpQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
Processor for Regexp queries.
- RegexpQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.RegexpQueryNodeProcessor
- REGEXPTERM - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- REGEXPTERM - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- ReInit(CharStream) - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Reinitialise.
- ReInit(CharStream) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- ReInit(CharStream) - Method in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Reinitialise parser.
- ReInit(CharStream) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Reinitialise.
- ReInit(CharStream) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Reinitialise parser.
- ReInit(CharStream) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Reinitialise.
- ReInit(CharStream) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Reinitialise parser.
- ReInit(CharStream, int) - Method in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Reinitialise parser.
- ReInit(CharStream, int) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Reinitialise parser.
- ReInit(CharStream, int) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Reinitialise parser.
- ReInit(QueryParserTokenManager) - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Reinitialise.
- ReInit(StandardSyntaxParserTokenManager) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Reinitialise.
- ReInit(QueryParserTokenManager) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Reinitialise.
- remove(int) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- remove(Object) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- removeAll(Collection<?>) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- removeChildren(QueryNode) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
Remove a child node
- removeChildren(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- RemoveDeletedQueryNodesProcessor - Class in org.apache.lucene.queryparser.flexible.core.processors
-
A
QueryNodeProcessorPipeline
class removes every instance ofDeletedQueryNode
from a query node tree. - RemoveDeletedQueryNodesProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.core.processors.RemoveDeletedQueryNodesProcessor
- RemoveEmptyNonLeafQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processor removes every
QueryNode
that is not a leaf and has not children. - RemoveEmptyNonLeafQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.RemoveEmptyNonLeafQueryNodeProcessor
- removeFromParent() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
Removes this query node from its parent.
- removeFromParent() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- retainAll(Collection<?>) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- RPAREN - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- RPAREN - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- RPAREN - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
S
- SENTENCE - org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode.Type
- set(int, QueryNodeProcessor) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- set(List<QueryNode>) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
- set(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- set(ConfigurationKey<T>, T) - Method in class org.apache.lucene.queryparser.flexible.core.config.AbstractQueryConfig
-
Sets a key and its value.
- setAllowLeadingWildcard(boolean) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Set to
true
to allow leading wildcard characters. - setAllowLeadingWildcard(boolean) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Set to
true
to allow leading wildcard characters. - setAllowLeadingWildcard(boolean) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Set to
true
to allow leading wildcard characters. - setAnalyzer(Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.IntervalQueryNode
- setAnalyzer(Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- setAutoGeneratePhraseQueries(boolean) - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Set to true if phrase queries will be automatically generated when the analyzer returns more than one term from whitespace delimited text.
- setAutoGeneratePhraseQueries(boolean) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Set to true if phrase queries will be automatically generated when the analyzer returns more than one term from whitespace delimited text.
- setBegin(int) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- setBeginColumn(int) - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- setBeginLine(int) - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- setBounds(PointQueryNode, PointQueryNode, boolean, boolean, PointsConfig) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointRangeQueryNode
-
Sets the upper and lower bounds of this range query node and the
PointsConfig
associated with these bounds. - setBounds(T, T, boolean, boolean) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
-
Sets the lower and upper bounds.
- setBuilder(CharSequence, QueryBuilder) - Method in class org.apache.lucene.queryparser.flexible.core.builders.QueryTreeBuilder
-
Associates a field name with a builder.
- setBuilder(Class<? extends QueryNode>, QueryBuilder) - Method in class org.apache.lucene.queryparser.flexible.core.builders.QueryTreeBuilder
-
Associates a class with a builder
- setChild(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.GroupQueryNode
- setChild(QueryNode) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.core.processors.NoChildOptimizationQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
-
This method is invoked for every node that has at least on child.
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.core.processors.RemoveDeletedQueryNodesProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.precedence.processors.BooleanModifiersQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.AllowLeadingWildcardProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.AnalyzerQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanSingleChildOptimizationQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BoostQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.DefaultPhraseSlopQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.FuzzyQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.IntervalQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MatchAllDocsQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MultiFieldQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.MultiTermRewriteMethodProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.OpenRangeQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PhraseSlopQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PointQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.PointRangeQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.RegexpQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.RemoveEmptyNonLeafQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.TermRangeQueryNodeProcessor
- setChildrenOrder(List<QueryNode>) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.WildcardQueryNodeProcessor
- setDateResolution(String, DateTools.Resolution) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Sets the date resolution used by RangeQueries for a specific field.
- setDateResolution(DateTools.Resolution) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Sets the default date resolution used by RangeQueries for fields for which no specific date resolutions has been set.
- setDateResolution(DateTools.Resolution) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Sets the default
DateTools.Resolution
used for certain field when noDateTools.Resolution
is defined for this field. - setDateResolution(DateTools.Resolution) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Sets the default
DateTools.Resolution
used for certain field when noDateTools.Resolution
is defined for this field. - setDateResolutionMap(Map<CharSequence, DateTools.Resolution>) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Sets the
DateTools.Resolution
used for each field - setDefaultOperator(QueryParser.Operator) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Sets the boolean operator of the QueryParser.
- setDefaultOperator(StandardQueryConfigHandler.Operator) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Sets the boolean operator of the QueryParser.
- setDefaultOperator(BooleanClause.Occur) - Method in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Sets the implicit operator setting, which must be either
SHOULD
orMUST
. - setDeterminizeWorkLimit(int) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- setEnablePositionIncrements(boolean) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Set to
true
to enable position increments in result query. - setEnablePositionIncrements(boolean) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Set to
true
to enable position increments in result query. - setEnd(int) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- setErrorToken(String) - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AnyQueryNode
- setField(CharSequence) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.FieldableNode
-
Associates the node to a field.
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PhraseSlopQueryNode
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.SlopQueryNode
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.TokenizedPhraseQueryNode
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
-
Sets the field associated with this node.
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.IntervalQueryNode
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.MultiPhraseQueryNode
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
-
Sets the field associated with this node.
- setField(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- setFieldsBoost(Map<String, Float>) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Sets the boost used for each field.
- setFuzzyMinSim(float) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Set the minimum similarity for fuzzy queries.
- setFuzzyMinSim(float) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Set the minimum similarity for fuzzy queries.
- setFuzzyMinSim(float) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Set the minimum similarity for fuzzy queries.
- setFuzzyPrefixLength(int) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Set the prefix length for fuzzy queries.
- setFuzzyPrefixLength(int) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Set the prefix length for fuzzy queries.
- setFuzzyPrefixLength(int) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Set the prefix length for fuzzy queries.
- setInOrder(boolean) - Method in class org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser
-
When
inOrder
is true, the search terms must exists in the documents as the same order as in query. - setLeaf(boolean) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- setLocale(Locale) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Set locale used by date range parsing, lowercasing, and other locale-sensitive operations.
- setLocale(Locale) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Set locale used by date range parsing.
- setLocale(Locale) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Set locale used by date range parsing.
- setMinSimilarity(float) - Method in class org.apache.lucene.queryparser.flexible.standard.config.FuzzyConfig
- setMultiFields(CharSequence[]) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Set the fields a query should be expanded to when the field is
null
- setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
By default QueryParser uses
MultiTermQuery.CONSTANT_SCORE_BLENDED_REWRITE
when creating aPrefixQuery
,WildcardQuery
orTermRangeQuery
. - setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- setNonLocalizedMessage(Message) - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- setNumberFormat(NumberFormat) - Method in class org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
- setNumberFormat(NumberFormat) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
-
Sets the
NumberFormat
used to convert the value toString
. - setPathElements(List<PathQueryNode.QueryText>) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
-
Returns the a List with all QueryText elements
- setPhraseSlop(int) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
-
Sets the default slop for phrases.
- setPhraseSlop(int) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
-
Sets the default slop for phrases.
- setPhraseSlop(int) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Sets the default slop for phrases.
- setPointsConfigMap(Map<String, PointsConfig>) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- setPositionIncrement(int) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- setPrefixLength(int) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FuzzyQueryNode
- setPrefixLength(int) - Method in class org.apache.lucene.queryparser.flexible.standard.config.FuzzyConfig
- setQuery(CharSequence) - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeParseException
- setQueryBuilder(QueryBuilder) - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
The query builder that will be used to build an object from the query node tree.
- setQueryConfigHandler(QueryConfigHandler) - Method in interface org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessor
-
Sets the
QueryConfigHandler
associated to the query tree. - setQueryConfigHandler(QueryConfigHandler) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
-
For reference about this method check:
QueryNodeProcessor.setQueryConfigHandler(QueryConfigHandler)
. - setQueryConfigHandler(QueryConfigHandler) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
-
For reference about this method check:
QueryNodeProcessor.setQueryConfigHandler(QueryConfigHandler)
. - setQueryConfigHandler(QueryConfigHandler) - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Sets the query configuration handler that will be used during query processing.
- setQueryConfigHandler(QueryConfigHandler) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- setQueryNodeProcessor(QueryNodeProcessor) - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Sets the processor that will be used to process the query node tree.
- setSimilarity(float) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FuzzyQueryNode
- setSplitOnWhitespace(boolean) - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Whether query text should be split on whitespace prior to analysis.
- setSyntaxParser(SyntaxParser) - Method in class org.apache.lucene.queryparser.flexible.core.QueryParserHelper
-
Sets the text parser that will be used to parse the query string, it cannot be
null
. - setTag(String, Object) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
Associate the specified value with the specified tagName.
- setTag(String, Object) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- setText(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- setText(CharSequence) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.TextableQueryNode
- setText(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- setTimeZone(TimeZone) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- setTimeZone(TimeZone) - Method in interface org.apache.lucene.queryparser.flexible.standard.CommonQueryParserConfiguration
- setTimeZone(TimeZone) - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- setType(Class<? extends Number>) - Method in class org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
-
Sets the numeric type used to index the numeric values
- setValue(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- setValue(Number) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
-
Sets the numeric value.
- setValue(T) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.ValueQueryNode
- setWeight(float) - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- SimpleQueryParser - Class in org.apache.lucene.queryparser.simple
-
SimpleQueryParser is used to parse human readable query syntax.
- SimpleQueryParser(Analyzer, String) - Constructor for class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Creates a new parser searching over a single field.
- SimpleQueryParser(Analyzer, Map<String, Float>) - Constructor for class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Creates a new parser searching over multiple fields with different weights.
- SimpleQueryParser(Analyzer, Map<String, Float>, int) - Constructor for class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Creates a new parser with custom flags used to enable/disable certain features.
- SimpleTerm - Class in org.apache.lucene.queryparser.surround.query
-
Base class for queries that expand to sets of simple terms.
- SimpleTerm(boolean) - Constructor for class org.apache.lucene.queryparser.surround.query.SimpleTerm
- SimpleTerm() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- SimpleTerm.MatchingTermVisitor - Interface in org.apache.lucene.queryparser.surround.query
-
Callback to visit each matching term during "rewrite" in
SimpleTerm.MatchingTermVisitor.visitMatchingTerm(Term)
- simplify(BooleanQuery) - Method in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Helper to simplify boolean queries with 0 or 1 clause
- size() - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- size() - Method in class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- SlopQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
SlopQueryNode
represents phrase query with a slop. - SlopQueryNode(QueryNode, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.SlopQueryNode
- SlopQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
This builder basically reads the
Query
object set on theSlopQueryNode
child usingQueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
and applies the slop value defined in theSlopQueryNode
. - SlopQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.SlopQueryNodeBuilder
- SpanBuilderBase - Class in org.apache.lucene.queryparser.xml.builders
-
Base class for building
SpanQuery
s - SpanBuilderBase() - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanBuilderBase
- spanFactory - Variable in class org.apache.lucene.queryparser.xml.CoreParser
- SpanFirstBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
SpanFirstQuery
- SpanFirstBuilder(SpanQueryBuilder) - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanFirstBuilder
- SpanNearBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
SpanNearQuery
- SpanNearBuilder(SpanQueryBuilder) - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanNearBuilder
- SpanNearClauseFactory - Class in org.apache.lucene.queryparser.surround.query
-
Factory for
SpanOrQuery
- SpanNearClauseFactory(IndexReader, String, BasicQueryFactory) - Constructor for class org.apache.lucene.queryparser.surround.query.SpanNearClauseFactory
- SpanNotBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
SpanNotQuery
- SpanNotBuilder(SpanQueryBuilder) - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanNotBuilder
- SpanOrBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
SpanOrQuery
- SpanOrBuilder(SpanQueryBuilder) - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanOrBuilder
- SpanOrTermsBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder that analyzes the text into a
SpanOrQuery
- SpanOrTermsBuilder(Analyzer) - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanOrTermsBuilder
- SpanPositionRangeBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
SpanPositionRangeQuery
- SpanPositionRangeBuilder(SpanQueryBuilder) - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanPositionRangeBuilder
- SpanQueryBuilder - Interface in org.apache.lucene.queryparser.xml.builders
-
Interface for retrieving a
SpanQuery
. - SpanQueryBuilderFactory - Class in org.apache.lucene.queryparser.xml.builders
-
Factory for
SpanQueryBuilder
s - SpanQueryBuilderFactory() - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanQueryBuilderFactory
- SpanTermBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
SpanTermQuery
- SpanTermBuilder() - Constructor for class org.apache.lucene.queryparser.xml.builders.SpanTermBuilder
- specialToken - Variable in class org.apache.lucene.queryparser.classic.Token
-
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
- specialToken - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
- specialToken - Variable in class org.apache.lucene.queryparser.surround.parser.Token
-
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
- splitExtensionField(String, String) - Method in class org.apache.lucene.queryparser.ext.Extensions
-
Splits a extension field and returns the field / extension part as a
Extensions.Pair
. - SrndPrefixQuery - Class in org.apache.lucene.queryparser.surround.query
-
Query that matches String prefixes
- SrndPrefixQuery(String, boolean, char) - Constructor for class org.apache.lucene.queryparser.surround.query.SrndPrefixQuery
- SrndQuery - Class in org.apache.lucene.queryparser.surround.query
-
Lowest level base class for surround queries
- SrndQuery() - Constructor for class org.apache.lucene.queryparser.surround.query.SrndQuery
- SrndTermQuery - Class in org.apache.lucene.queryparser.surround.query
-
Simple single-term clause
- SrndTermQuery(String, boolean) - Constructor for class org.apache.lucene.queryparser.surround.query.SrndTermQuery
- SrndTruncQuery - Class in org.apache.lucene.queryparser.surround.query
-
Query that matches wildcards
- SrndTruncQuery(String) - Constructor for class org.apache.lucene.queryparser.surround.query.SrndTruncQuery
- StandardQueryBuilder - Interface in org.apache.lucene.queryparser.flexible.standard.builders
- StandardQueryConfigHandler - Class in org.apache.lucene.queryparser.flexible.standard.config
-
This query configuration handler is used for almost every processor defined in the
StandardQueryNodeProcessorPipeline
processor pipeline. - StandardQueryConfigHandler() - Constructor for class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler
- StandardQueryConfigHandler.ConfigurationKeys - Class in org.apache.lucene.queryparser.flexible.standard.config
-
Class holding keys for StandardQueryNodeProcessorPipeline options.
- StandardQueryConfigHandler.Operator - Enum in org.apache.lucene.queryparser.flexible.standard.config
-
Boolean Operator: AND or OR
- StandardQueryNodeProcessorPipeline - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This pipeline has all the processors needed to process a query node tree, generated by
StandardSyntaxParser
, already assembled. - StandardQueryNodeProcessorPipeline(QueryConfigHandler) - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.StandardQueryNodeProcessorPipeline
- StandardQueryParser - Class in org.apache.lucene.queryparser.flexible.standard
-
The
StandardQueryParser
is a pre-assembled query parser that supports most features of the classic Lucene query parser, allows dynamic configuration of some of its features (like multi-field expansion or wildcard query restrictions) and adds support for new query types and expressions. - StandardQueryParser() - Constructor for class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Constructs a
StandardQueryParser
object. - StandardQueryParser(Analyzer) - Constructor for class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
-
Constructs a
StandardQueryParser
object and sets anAnalyzer
to it. - StandardQueryTreeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
This query tree builder only defines the necessary map to build a
Query
tree object. - StandardQueryTreeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.StandardQueryTreeBuilder
- StandardSyntaxParser - Class in org.apache.lucene.queryparser.flexible.standard.parser
-
Parser for the standard Lucene syntax
- StandardSyntaxParser() - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
- StandardSyntaxParser(CharStream) - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Constructor with user supplied CharStream.
- StandardSyntaxParser(StandardSyntaxParserTokenManager) - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Constructor with generated Token Manager.
- StandardSyntaxParserConstants - Interface in org.apache.lucene.queryparser.flexible.standard.parser
-
Token literal values and constants.
- StandardSyntaxParserTokenManager - Class in org.apache.lucene.queryparser.flexible.standard.parser
-
Token Manager.
- StandardSyntaxParserTokenManager(CharStream) - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Constructor.
- StandardSyntaxParserTokenManager(CharStream, int) - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Constructor.
- STAR - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- STATIC_LEXER_ERROR - Static variable in error org.apache.lucene.queryparser.classic.TokenMgrError
-
An attempt was made to create a second instance of a static token manager.
- STATIC_LEXER_ERROR - Static variable in error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
An attempt was made to create a second instance of a static token manager.
- STATIC_LEXER_ERROR - Static variable in error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
An attempt was made to create a second instance of a static token manager.
- STRING - org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax.Type
- StringUtils - Class in org.apache.lucene.queryparser.flexible.core.util
-
String manipulation routines
- StringUtils() - Constructor for class org.apache.lucene.queryparser.flexible.core.util.StringUtils
- subList(int, int) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- subQueriesOrdered() - Method in class org.apache.lucene.queryparser.surround.query.DistanceQuery
- subSequence(int, int) - Method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
- SUFFIXTERM - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- suffixToString(StringBuilder) - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- suffixToString(StringBuilder) - Method in class org.apache.lucene.queryparser.surround.query.SrndPrefixQuery
- SwitchTo(int) - Method in class org.apache.lucene.queryparser.classic.QueryParserTokenManager
-
Switch to specified lex state.
- SwitchTo(int) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
Switch to specified lex state.
- SwitchTo(int) - Method in class org.apache.lucene.queryparser.surround.parser.QueryParserTokenManager
-
Switch to specified lex state.
- SynonymQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
QueryNode
for clauses that are synonym of each other. - SynonymQueryNode(List<QueryNode>) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.SynonymQueryNode
-
Sole constructor.
- SynonymQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builder for
SynonymQueryNode
. - SynonymQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.SynonymQueryNodeBuilder
-
Sole constructor.
- SyntaxParser - Interface in org.apache.lucene.queryparser.flexible.core.parser
-
A parser needs to implement
SyntaxParser
interface
T
- TAG_ID - Static variable in class org.apache.lucene.queryparser.flexible.standard.processors.MultiTermRewriteMethodProcessor
- tagModifierButDoNotOverride(QueryNode, ModifierQueryNode.Modifier) - Method in class org.apache.lucene.queryparser.flexible.standard.processors.BooleanQuery2ModifierNodeProcessor
- Term(String) - Method in class org.apache.lucene.queryparser.classic.QueryParser
- TERM - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- TERM - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- TERM - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- TermQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builder for
TermQuery
- TermQueryBuilder() - Constructor for class org.apache.lucene.queryparser.xml.builders.TermQueryBuilder
- TermRangeQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
This query node represents a range query composed by
FieldQueryNode
bounds, which means the bound values are strings. - TermRangeQueryNode(FieldQueryNode, FieldQueryNode, boolean, boolean) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.TermRangeQueryNode
-
Constructs a
TermRangeQueryNode
object using the givenFieldQueryNode
as its bounds. - TermRangeQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
TermRangeQuery
object from aTermRangeQueryNode
object. - TermRangeQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.TermRangeQueryNodeBuilder
- TermRangeQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
This processors process
TermRangeQueryNode
s. - TermRangeQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.TermRangeQueryNodeProcessor
- TermsQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
Builds a BooleanQuery from all of the terms found in the XML element using the choice of analyzer
- TermsQueryBuilder(Analyzer) - Constructor for class org.apache.lucene.queryparser.xml.builders.TermsQueryBuilder
- text - Variable in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
-
The term's text.
- TextableQueryNode - Interface in org.apache.lucene.queryparser.flexible.core.nodes
-
Interface for a node that has text as a
CharSequence
- textToBytesRef() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- TILDE - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- TIMEZONE - Static variable in class org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
- toArray() - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- toArray(T[]) - Method in class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorPipeline
- toDigitString() - Method in enum org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode.Modifier
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.After
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.AnalyzedText
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.AtLeast
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Before
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.ContainedBy
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Containing
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Extend
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.FuzzyTerm
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.IntervalFunction
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.MaxGaps
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.MaxWidth
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NonOverlapping
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotContainedBy
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotContaining
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotWithin
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Or
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Ordered
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Overlapping
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Phrase
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Unordered
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.UnorderedNoOverlaps
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Wildcard
- toIntervalSource(String, Analyzer) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Within
- token - Variable in class org.apache.lucene.queryparser.classic.QueryParser
-
Current token.
- token - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Current token.
- token - Variable in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Current token.
- Token - Class in org.apache.lucene.queryparser.classic
-
Describes the input token stream.
- Token - Class in org.apache.lucene.queryparser.flexible.standard.parser
-
Describes the input token stream.
- Token - Class in org.apache.lucene.queryparser.surround.parser
-
Describes the input token stream.
- Token() - Constructor for class org.apache.lucene.queryparser.classic.Token
-
No-argument constructor
- Token() - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
No-argument constructor
- Token() - Constructor for class org.apache.lucene.queryparser.surround.parser.Token
-
No-argument constructor
- Token(int) - Constructor for class org.apache.lucene.queryparser.classic.Token
-
Constructs a new token for the specified Image.
- Token(int) - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
Constructs a new token for the specified Image.
- Token(int) - Constructor for class org.apache.lucene.queryparser.surround.parser.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class org.apache.lucene.queryparser.classic.Token
-
Constructs a new token for the specified Image and Kind.
- Token(int, String) - Constructor for class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
Constructs a new token for the specified Image and Kind.
- Token(int, String) - Constructor for class org.apache.lucene.queryparser.surround.parser.Token
-
Constructs a new token for the specified Image and Kind.
- token_source - Variable in class org.apache.lucene.queryparser.classic.QueryParser
-
Generated Token Manager.
- token_source - Variable in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Generated Token Manager.
- token_source - Variable in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Generated Token Manager.
- tokenImage - Variable in exception org.apache.lucene.queryparser.classic.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- tokenImage - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
Literal token values.
- tokenImage - Variable in exception org.apache.lucene.queryparser.flexible.standard.parser.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- tokenImage - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
Literal token values.
- tokenImage - Variable in exception org.apache.lucene.queryparser.surround.parser.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- tokenImage - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
Literal token values.
- TokenizedPhraseQueryNode - Class in org.apache.lucene.queryparser.flexible.core.nodes
-
A
TokenizedPhraseQueryNode
represents a node created by a code that tokenizes/lemmatizes/analyzes. - TokenizedPhraseQueryNode() - Constructor for class org.apache.lucene.queryparser.flexible.core.nodes.TokenizedPhraseQueryNode
- TokenMgrError - Error in org.apache.lucene.queryparser.classic
-
Token Manager Error.
- TokenMgrError - Error in org.apache.lucene.queryparser.flexible.standard.parser
-
Token Manager Error.
- TokenMgrError - Error in org.apache.lucene.queryparser.surround.parser
-
Token Manager Error.
- TokenMgrError() - Constructor for error org.apache.lucene.queryparser.classic.TokenMgrError
-
No arg constructor.
- TokenMgrError() - Constructor for error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
No arg constructor.
- TokenMgrError() - Constructor for error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
No arg constructor.
- TokenMgrError(boolean, int, int, int, String, int, int) - Constructor for error org.apache.lucene.queryparser.classic.TokenMgrError
-
Full Constructor.
- TokenMgrError(boolean, int, int, int, String, int, int) - Constructor for error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
Full Constructor.
- TokenMgrError(boolean, int, int, int, String, int, int) - Constructor for error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
Full Constructor.
- TokenMgrError(String, int) - Constructor for error org.apache.lucene.queryparser.classic.TokenMgrError
-
Constructor with message and reason.
- TokenMgrError(String, int) - Constructor for error org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError
-
Constructor with message and reason.
- TokenMgrError(String, int) - Constructor for error org.apache.lucene.queryparser.surround.parser.TokenMgrError
-
Constructor with message and reason.
- toLargeString() - Method in enum org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode.Modifier
- toLowerCase(CharSequence, Locale) - Static method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
- TOO_MANY_BOOLEAN_CLAUSES - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- TooManyBasicQueries - Exception in org.apache.lucene.queryparser.surround.query
-
Exception thrown when
BasicQueryFactory
would exceed the limit of query clauses. - TooManyBasicQueries(int) - Constructor for exception org.apache.lucene.queryparser.surround.query.TooManyBasicQueries
- TopLevelQuery(CharSequence) - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
- TopLevelQuery(String) - Method in class org.apache.lucene.queryparser.classic.QueryParser
- TopLevelQuery(String) - Method in class org.apache.lucene.queryparser.classic.QueryParserBase
- TopSrndQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AndQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AnyQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.BooleanQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.BoostQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.DeletedQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FuzzyQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.GroupQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.MatchAllDocsQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.NoTokenFoundQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.OpaqueQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.OrQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PhraseSlopQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- toQueryString(EscapeQuerySyntax) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
convert to a query string understood by the query parser
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QuotedFieldQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.SlopQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.TokenizedPhraseQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.IntervalQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.MinShouldMatchNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.MultiPhraseQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- toQueryString(EscapeQuerySyntax) - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.WildcardQueryNode
- toQueryStringIgnoreFields - Variable in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
-
If set to true the method toQueryString will not write field names
- toString() - Method in class org.apache.lucene.queryparser.classic.Token
-
Returns the image.
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.config.FieldConfig
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AndQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.AnyQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.BooleanQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.BoostQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.DeletedQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FieldQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.FuzzyQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.GroupQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.MatchAllDocsQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.MatchNoDocsQueryNode
- toString() - Method in enum org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode.Modifier
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.NoTokenFoundQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.OpaqueQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.OrQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.PhraseSlopQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode
- toString() - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
for printing
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
-
Every implementation of this class should return pseudo xml like this:
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QuotedFieldQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.SlopQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.nodes.TokenizedPhraseQueryNode
- toString() - Method in exception org.apache.lucene.queryparser.flexible.core.QueryNodeException
- toString() - Method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
- toString() - Method in class org.apache.lucene.queryparser.flexible.messages.MessageImpl
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.AbstractRangeQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.After
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.AnalyzedText
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.AtLeast
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Before
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.ContainedBy
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Containing
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Extend
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.FuzzyTerm
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.IntervalFunction
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.MaxGaps
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.MaxWidth
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NonOverlapping
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotContainedBy
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotContaining
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.NotWithin
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Or
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Ordered
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Overlapping
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Phrase
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Unordered
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.UnorderedNoOverlaps
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Wildcard
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Within
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.IntervalQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.MultiPhraseQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PointRangeQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.PrefixWildcardQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.nodes.WildcardQueryNode
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.Token
-
Returns the image.
- toString() - Method in class org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
- toString() - Method in class org.apache.lucene.queryparser.surround.parser.Token
-
Returns the image.
- toString() - Method in class org.apache.lucene.queryparser.surround.query.BasicQueryFactory
- toString() - Method in class org.apache.lucene.queryparser.surround.query.ComposedQuery
- toString() - Method in class org.apache.lucene.queryparser.surround.query.FieldsQuery
- toString() - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- toString() - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
-
This method is used by
SrndQuery.hashCode()
andSrndQuery.equals(Object)
, see LUCENE-2945. - toString(Object) - Static method in class org.apache.lucene.queryparser.flexible.core.util.StringUtils
- toStringEscaped() - Method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
-
Return a escaped String
- toStringEscaped(char[]) - Method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
-
Return a escaped String
- toStringUnquoted() - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- toStringUnquoted() - Method in class org.apache.lucene.queryparser.surround.query.SrndPrefixQuery
- toStringUnquoted() - Method in class org.apache.lucene.queryparser.surround.query.SrndTermQuery
- toStringUnquoted() - Method in class org.apache.lucene.queryparser.surround.query.SrndTruncQuery
- trace_enabled() - Method in class org.apache.lucene.queryparser.classic.QueryParser
-
Trace enabled.
- trace_enabled() - Method in class org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser
-
Trace enabled.
- trace_enabled() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
-
Trace enabled.
- TRUNCQUOTED - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- TRUNCTERM - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
U
- UnescapedCharSequence - Class in org.apache.lucene.queryparser.flexible.core.util
-
CharsSequence with escaped chars information.
- UnescapedCharSequence(char[], boolean[], int, int) - Constructor for class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
-
Create a escaped CharSequence
- UnescapedCharSequence(CharSequence) - Constructor for class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
-
Create a non-escaped CharSequence
- Unordered - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.unordered(IntervalsSource...)
. - Unordered(List<IntervalFunction>) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Unordered
- UNORDERED - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- UNORDERED_NO_OVERLAPS - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- UnorderedNoOverlaps - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.unorderedNoOverlaps(IntervalsSource, IntervalsSource)
. - UnorderedNoOverlaps(IntervalFunction, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.UnorderedNoOverlaps
- unset(ConfigurationKey<T>) - Method in class org.apache.lucene.queryparser.flexible.core.config.AbstractQueryConfig
-
Unsets the given key and its value.
- unsetTag(String) - Method in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
-
Unset a tag.
- unsetTag(String) - Method in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
- UNSUPPORTED_NUMERIC_DATA_TYPE - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- UserInputQueryBuilder - Class in org.apache.lucene.queryparser.xml.builders
-
UserInputQueryBuilder uses 1 of 2 strategies for thread-safe parsing: 1) Synchronizing access to "parse" calls on a previously supplied QueryParser or..
- UserInputQueryBuilder(String, Analyzer) - Constructor for class org.apache.lucene.queryparser.xml.builders.UserInputQueryBuilder
- UserInputQueryBuilder(QueryParser) - Constructor for class org.apache.lucene.queryparser.xml.builders.UserInputQueryBuilder
-
This constructor has the disadvantage of not being able to change choice of default field name
V
- valueOf(String) - Static method in enum org.apache.lucene.queryparser.classic.QueryParser.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode.Modifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.Operator
-
Returns the enum constant of this type with the specified name.
- ValueQueryNode<T> - Interface in org.apache.lucene.queryparser.flexible.core.nodes
-
This interface should be implemented by
QueryNode
that holds an arbitrary value. - values() - Static method in enum org.apache.lucene.queryparser.classic.QueryParser.Operator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.lucene.queryparser.flexible.core.nodes.ModifierQueryNode.Modifier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.lucene.queryparser.flexible.core.nodes.ProximityQueryNode.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.Operator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visitMatchingTerm(Term) - Method in interface org.apache.lucene.queryparser.surround.query.SimpleTerm.MatchingTermVisitor
- visitMatchingTerms(IndexReader, String, SimpleTerm.MatchingTermVisitor) - Method in class org.apache.lucene.queryparser.surround.query.SimpleTerm
- visitMatchingTerms(IndexReader, String, SimpleTerm.MatchingTermVisitor) - Method in class org.apache.lucene.queryparser.surround.query.SrndPrefixQuery
- visitMatchingTerms(IndexReader, String, SimpleTerm.MatchingTermVisitor) - Method in class org.apache.lucene.queryparser.surround.query.SrndTermQuery
- visitMatchingTerms(IndexReader, String, SimpleTerm.MatchingTermVisitor) - Method in class org.apache.lucene.queryparser.surround.query.SrndTruncQuery
W
- W - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- wasEscaped(int) - Method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
- wasEscaped(CharSequence, int) - Static method in class org.apache.lucene.queryparser.flexible.core.util.UnescapedCharSequence
- weights - Variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Map of fields to query against with their weights
- weightToString(StringBuilder) - Method in class org.apache.lucene.queryparser.surround.query.SrndQuery
- WHITESPACE_OPERATOR - Static variable in class org.apache.lucene.queryparser.simple.SimpleQueryParser
-
Enables
WHITESPACE
operators: ' ' '\n' '\r' '\t' - Wildcard - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.wildcard(BytesRef)
. - Wildcard(String, int) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Wildcard
- WILDCARD - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- WILDCARD_NOT_SUPPORTED - Static variable in class org.apache.lucene.queryparser.flexible.core.messages.QueryParserMessages
- WildcardQueryNode - Class in org.apache.lucene.queryparser.flexible.standard.nodes
-
A
WildcardQueryNode
represents wildcard query This does not apply to phrases. - WildcardQueryNode(CharSequence, CharSequence, int, int) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.WildcardQueryNode
- WildcardQueryNode(FieldQueryNode) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.WildcardQueryNode
- WildcardQueryNodeBuilder - Class in org.apache.lucene.queryparser.flexible.standard.builders
-
Builds a
WildcardQuery
object from aWildcardQueryNode
object. - WildcardQueryNodeBuilder() - Constructor for class org.apache.lucene.queryparser.flexible.standard.builders.WildcardQueryNodeBuilder
- WildcardQueryNodeProcessor - Class in org.apache.lucene.queryparser.flexible.standard.processors
-
The
StandardSyntaxParser
createsPrefixWildcardQueryNode
nodes which have values containing the prefixed wildcard. - WildcardQueryNodeProcessor() - Constructor for class org.apache.lucene.queryparser.flexible.standard.processors.WildcardQueryNodeProcessor
- WILDTERM - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- Within - Class in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
-
Node that represents
Intervals.within(IntervalsSource, int, IntervalsSource)
. - Within(IntervalFunction, int, IntervalFunction) - Constructor for class org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.Within
- WITHIN - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- WQuery() - Method in class org.apache.lucene.queryparser.surround.parser.QueryParser
_
- _DISTOP_NUM - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- _ESCAPED_CHAR - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- _ESCAPED_CHAR - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- _NUM_CHAR - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- _NUM_CHAR - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- _NUM_CHAR - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- _ONE_CHAR - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- _QUOTED_CHAR - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- _QUOTED_CHAR - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- _STAR - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- _TERM_CHAR - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- _TERM_CHAR - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- _TERM_CHAR - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
- _TERM_START_CHAR - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- _TERM_START_CHAR - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- _WHITESPACE - Static variable in interface org.apache.lucene.queryparser.classic.QueryParserConstants
-
RegularExpression Id.
- _WHITESPACE - Static variable in interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
-
RegularExpression Id.
- _WHITESPACE - Static variable in interface org.apache.lucene.queryparser.surround.parser.QueryParserConstants
-
RegularExpression Id.
All Classes All Packages