|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
QueryConfigHandler
and FieldConfig
.AbstractRangeQueryNode
, it should be invoked only by
its extenders.
ParserExtension
instance associated with the given key.
List
interface, so use
QueryNodeProcessorPipeline.add(QueryNodeProcessor)
instead
StandardQueryConfigHandler.ConfigurationKeys.ALLOW_LEADING_WILDCARD
is defined in the
QueryConfigHandler
.Analyzer
used for terms found in the query
StandardQueryConfigHandler.ConfigurationKeys.ANALYZER
is defined in the QueryConfigHandler
.*
)
don't get removed from the search terms.AndQueryNode
represents an AND boolean operation performed on a
list of nodes.AnyQueryNode
represents an ANY operator performed on a list of
nodes.BooleanModifierNode
has the same behaviour as
ModifierQueryNode
, it only indicates that this modifier was added by
GroupQueryNodeProcessor
and not by the user.ModifierQueryNode
to BooleanQueryNode
s children.BooleanQueryNode
represents a list of elements which do not have an
explicit boolean operator defined between them.BooleanQuery
object from a BooleanQueryNode
object.BooleanQueryNode
that contains only one
child and returns this child.FieldConfig
objects.
BoostQueryNode
boosts the QueryNode tree which is under this node.Query
object set on the
BoostQueryNode
child using
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
and applies the boost value
defined in the BoostQueryNode
.FieldableNode
that has StandardQueryConfigHandler.ConfigurationKeys.BOOST
in its
config.null
.
AbstractQueryConfig
.QueryNode.containsTag(String)
instead
QueryNodeImpl.containsTag(String)
instead
DateTools.Resolution
.
StandardQueryConfigHandler.ConfigurationKeys.PHRASE_SLOP
is defined in the QueryConfigHandler
.DeletedQueryNode
represents a node that was deleted from the query
node tree.DummyQueryNodeBuilder
object.
\
.
\
.
EscapeQuerySyntax
to allow the QueryNode
to escape the queries, when the toQueryString method is called.ExtendableQueryParser
enables arbitrary query parser extension
based on a customizable field naming scheme.ExtendableQueryParser
instance
ExtendableQueryParser
instance
ExtensionQuery
holds all query components extracted from the original
query string like the query field and the extension query string.ExtensionQuery
Extensions
class represents an extension mapping to associate
ParserExtension
instances with extension keys.Extensions
instance with the
Extensions.DEFAULT_EXTENSION_FIELD_DELIMITER
as a delimiter character.
Extensions
instance
DateTools.Resolution
map that is used to
normalize each date field value.
FieldableNode
interface to indicate that its
children and itself are associated to a specific field.StandardQueryConfigHandler.ConfigurationKeys.BOOST
to the
equivalent FieldConfig
based on a defined map: fieldName -> boostValue stored in
StandardQueryConfigHandler.ConfigurationKeys.FIELD_BOOST_MAP
.FieldConfig.FieldConfig(String)
instead
FieldConfig
DateResolutionAttribute
to the equivalent FieldConfig
based
on a defined map: fieldName -> DateTools.Resolution stored in
FieldDateResolutionMapAttribute
in the
DateResolutionAttribute
.FieldQueryNode
represents a element that contains field/text tupleTermQuery
object from a FieldQueryNode
object.QueryNode
that holds a field
and an arbitrary value.FuzzyConfig
used to create fuzzy queries.
FuzzyQueryNode
represents a element that contains
field/text/similarity tupleFuzzyQuery
object from a FuzzyQueryNode
object.FuzzyQueryNode
, when this kind of node is found, it checks on the
query configuration for
StandardQueryConfigHandler.ConfigurationKeys.FUZZY_CONFIG
, gets the
fuzzy prefix length and default similarity from it and set to the fuzzy node.DateTools.Resolution
used for certain field when no
DateTools.Resolution
is defined for this field.
DateTools.Resolution
map used to normalize each date
field.
StandardQueryConfigHandler.Operator.AND
or StandardQueryConfigHandler.Operator.OR
.
ParserExtension
instance for the given key or
null
if no extension can be found for the key.
QueryConfigHandler.getFieldConfig(String)
instead
FieldConfig
for a specific field name.
FieldConfig.getField()
instead
QueryParserWrapper.getFieldQuery(String, String, boolean)
instead
QueryParserWrapper.getFieldQuery(String,String)
.
null
NumberFormat
used to parse a String
to
Number
NumberFormat
used to convert the value to String
.
NumericConfig
associated with the lower and upper bounds.
QueryConfigHandler
associated to the query tree if any,
otherwise it returns null
QueryNodeProcessor.getQueryConfigHandler()
.
QueryNodeProcessor.getQueryConfigHandler()
.
null
if no processor is used.
QueryNodeProcessor
used to process the query node tree
generated by the
StandardSyntaxParser
.
QueryNode.getTag(String)
instead
QueryNodeImpl.getTag(String)
instead
QueryNode.getTagMap()
QueryNodeImpl.getTagMap()
instead
String
and
escaped using the given EscapeQuerySyntax
.
ExtensionQuery
Number
.
*
), but is not a prefix term token (one
that has just a single * character at the end).
GroupQueryNode
represents a location where the original user typed
real parenthesis on the query string.Query
object set on the
GroupQueryNode
object using a
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
tag.SyntaxParser
generates query node trees that consider the boolean operator precedence, but
Lucene current syntax does not support boolean precedence, so this processor
remove all the precedence and apply the equivalent modifier according to the
boolean operation defined on an specific query node.Locale
used when parsing the query
StandardQueryConfigHandler.ConfigurationKeys.LOWERCASE_EXPANDED_TERMS
is defined in the
QueryConfigHandler
.MatchAllDocsQueryNode
indicates that a query node tree or subtree
will match all documents if executed in the index.MatchAllDocsQuery
object from a
MatchAllDocsQueryNode
object.WildcardQueryNode
that is "*:*" to
MatchAllDocsQueryNode
.MatchNoDocsQueryNode
indicates that a query node tree or subtree
will not match any documents if executed in the index.BooleanQuery
object from a
MatchNoDocsQueryNode
object.ModifierQueryNode
indicates the modifier value (+,-,?,NONE) for
each term on the query string.Query
object set on the
ModifierQueryNode
object using a
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
tag.null
MultiTermQuery.RewriteMethod
used when creating queries
MultiPhraseQueryNode
indicates that its children should be used to
build a MultiPhraseQuery
instead of PhraseQuery
.MultiPhraseQuery
object from a MultiPhraseQueryNode
object.MultiTermQuery.RewriteMethod
,
MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT
, for multi-term
query nodes.NoChildOptimizationQueryNodeProcessor
removes every
BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or
ModifierQueryNode that do not have a valid children.NoTokenFoundQueryNode
is used if a term is convert into no tokens
by the tokenizer/lemmatizer/analyzer (null).Format
parses Long
into date strings and vice-versa.NumberDateFormat
object using the given DateFormat
.
NumericConfig
.
NumericConfig
in FieldConfig
for
numeric fields.
NumericRangeQuery
s.NumericConfig
object.
FieldConfig
requests in
QueryConfigHandler
and add StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG
based on the StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG_MAP
set in the
QueryConfigHandler
.NumericFieldConfigListener
object using the given QueryConfigHandler
.
NumericQueryNode
object using the given field,
Number
value and NumberFormat
used to convert the value to
String
.
FieldQueryNode
s to
NumericRangeQueryNode
s.NumericQueryNodeProcessor
object.
NumericQueryNode
bounds, which means the bound values are Number
s.NumericRangeQueryNode
object using the given
NumericQueryNode
as its bounds and NumericConfig
.
NumericRangeQuery
s out of NumericRangeQueryNode
s.NumericRangeQueryNodeBuilder
object.
ParametricRangeQueryNode
s to
NumericRangeQueryNode
s.NumericRangeQueryNode
object.
OpaqueQueryNode
is used for specify values that are not supposed to
be parsed by the parser.OrQueryNode
represents an OR boolean operation performed on a list
of nodes.FieldQueryNode
should be used instead.ParametricRangeQueryNode
represents LE, LT, GE, GT, EQ, NE query.ParametricRangeQueryNode
objects to
RangeQueryNode
objects.ExtensionQuery
and returns a corresponding
Query
instance.
QueryNode
.
QueryParserHelper.parse(String, String)
so it casts the
return object to Query
.
QueryParser
.PathQueryNode
is used to store queries like
/company/USA/California /product/shoes/brown.PhraseQuery
object from a TokenizedPhraseQueryNode
object.SlopQueryNode
objects in the query
node tree.StandardQueryNodeProcessorPipeline
and enables
boolean precedence on it.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>.PrefixWildcardQueryNode
represents wildcardquery that matches abc*
or *.PrefixQuery
object from a PrefixWildcardQueryNode
object.QueryNodeProcessor.process(QueryNode)
.
ProximityQueryNode
represents a query where the terms should meet
specific distance conditions.QueryNode
is a interface implemented by all nodes on a QueryNode
tree.QueryNode
s.QueryNodeImpl
is the default implementation of the interface
QueryNode
QueryNodeProcessor
is an interface for classes that process a
QueryNode
tree.QueryNodeProcessor
interface, it's an abstract class, so it should be extended by classes that
want to process a QueryNode
tree.QueryNodeProcessorPipeline
class should be used to build a query
node processor pipeline.QueryConfigHandler
object.
Query
objects.QueryTreeBuilder
constructor.
QuotedFieldQueryNode
represents phrase query.Collator
used when creating TermRangeQuery
s.
QueryNode
that represents
some kind of range query.TermRangeQueryNode
should
be used insteadRangeQueryNode
QueryNodeProcessorPipeline
class removes every instance of
DeletedQueryNode
from a query node tree.QueryNode
that is not a leaf and has not
children.true
to allow leading wildcard characters.
NumericConfig
associated with these bounds.
QueryTreeBuilder.setBuilder(String, QueryBuilder)
instead
RangeQueryNode
s for
fields for which no specific date resolutions has been set.
DateTools.Resolution
used for certain field when no
DateTools.Resolution
is defined for this field.
StandardQueryParser.setDateResolutionMap(Map)
DateTools.Resolution
used for each field
StandardQueryParser.setPhraseSlop(int)
true
to enable position increments in result query.
true
to allow leading wildcard characters.
null
MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT
when creating a
prefix, wildcard and range queries.
NumberFormat
used to parse a String
to
Number
NumberFormat
used to convert the value to String
.
StandardQueryBuilder
used to generate a Query
object from the parsed and processed query node tree.
QueryConfigHandler
used by the QueryNodeProcessor
set to this object.
QueryConfigHandler
associated to the query tree.
QueryNodeProcessor.setQueryConfigHandler(QueryConfigHandler)
.
QueryNodeProcessor.setQueryConfigHandler(QueryConfigHandler)
.
QueryNodeProcessor
used to process the query node tree
generated by the
StandardSyntaxParser
.
null
.
QueryNode.setTag(String, Object)
instead
QueryNodeImpl.setTag(String, Object)
instead
SlopQueryNode
represents phrase query with a slop.Query
object set on the
SlopQueryNode
child using
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
and applies the slop value
defined in the SlopQueryNode
.Extensions.Pair
.
StandardBooleanQueryNode
has the same behavior as
BooleanQueryNode
.BooleanQueryNodeBuilder
, but this
considers if the built BooleanQuery
should have its coord disabled or
not.Query
objects from QueryNode
objects.StandardQueryNodeProcessorPipeline
processor pipeline.StandardSyntaxParser
, already assembled.StandardQueryParser
object.
StandardQueryParser
object and sets an
Analyzer
to it.
Query
tree object.SyntaxParser
interfaceFieldQueryNode
bounds, which means the bound values are strings.TermRangeQueryNode
object using the given
FieldQueryNode
as its bounds.
TermRangeQuery
object from a TermRangeQueryNode
object.TokenizedPhraseQueryNode
represents a node created by a code that
tokenizes/lemmatizes/analyzes.QueryNode.unsetTag(String)
instead
QueryNodeImpl.unsetTag(String)
QueryNode
that holds an
arbitrary value.WildcardQueryNode
represents wildcard query This does not apply to
phrases.WildcardQuery
object from a WildcardQueryNode
object.StandardSyntaxParser
creates PrefixWildcardQueryNode
nodes which
have values containing the prefixed wildcard.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |