Package | Description |
---|---|
org.apache.lucene.queryParser.standard |
Contains the implementation of the Lucene query parser using the flexible query parser frameworks
Lucene Flexible Query Parser Implementation
The old Lucene query parser used to have only one class that performed
all the parsing operations.
|
org.apache.lucene.queryParser.standard.config |
Standard Lucene Query Configuration
The package org.apache.lucene.queryParser.standard.config contains the Lucene
query configuration handler (StandardQueryConfigHandler).
|
org.apache.lucene.queryParser.standard.nodes |
Standard Lucene Query Nodes
The package org.apache.lucene.queryParser.standard.nodes contains QueryNode classes
that are used specifically for Lucene query node tree.
|
Modifier and Type | Method and Description |
---|---|
Map<String,NumericConfig> |
StandardQueryParser.getNumericConfigMap() |
Modifier and Type | Method and Description |
---|---|
void |
StandardQueryParser.setNumericConfigMap(Map<String,NumericConfig> numericConfigMap) |
Modifier and Type | Field and Description |
---|---|
static ConfigurationKey<NumericConfig> |
StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG
Key used to set a field to its
NumericConfig . |
static ConfigurationKey<Map<String,NumericConfig>> |
StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG_MAP
Key used to set the
NumericConfig in FieldConfig for
numeric fields. |
Modifier and Type | Field and Description |
---|---|
NumericConfig |
NumericRangeQueryNode.numericConfig |
Modifier and Type | Method and Description |
---|---|
NumericConfig |
NumericRangeQueryNode.getNumericConfig()
Returns the
NumericConfig associated with the lower and upper bounds. |
Modifier and Type | Method and Description |
---|---|
void |
NumericRangeQueryNode.setBounds(NumericQueryNode lower,
NumericQueryNode upper,
boolean lowerInclusive,
boolean upperInclusive,
NumericConfig numericConfig)
Sets the upper and lower bounds of this range query node and the
NumericConfig associated with these bounds. |
Constructor and Description |
---|
NumericRangeQueryNode(NumericQueryNode lower,
NumericQueryNode upper,
boolean lowerInclusive,
boolean upperInclusive,
NumericConfig numericConfig)
Constructs a
NumericRangeQueryNode object using the given
NumericQueryNode as its bounds and NumericConfig . |