Package | Description |
---|---|
org.apache.lucene.queryparser.ext |
Extendable QueryParser provides a simple and flexible extension mechanism by overloading query field names.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,ParserExtension> |
Extensions.extensions |
Modifier and Type | Method and Description |
---|---|
ParserExtension |
Extensions.getExtension(java.lang.String key)
Returns the
ParserExtension instance for the given key or
null if no extension can be found for the key. |
Modifier and Type | Method and Description |
---|---|
void |
Extensions.add(java.lang.String key,
ParserExtension extension)
Adds a new
ParserExtension instance associated with the given key. |