public abstract class ValueSourceParser extends Object implements NamedListInitializedPlugin
Modifier and Type | Field and Description |
---|---|
static Map<String,ValueSourceParser> |
standardValueSourceParsers |
Constructor and Description |
---|
ValueSourceParser() |
Modifier and Type | Method and Description |
---|---|
static ValueSourceParser |
addParser(org.apache.solr.search.NamedParser p)
Adds a new parser for the name and returns any existing one that was overriden.
|
static ValueSourceParser |
addParser(String name,
ValueSourceParser p)
Adds a new parser for the name and returns any existing one that was overriden.
|
void |
init(NamedList args)
Initialize the plugin.
|
abstract ValueSource |
parse(FunctionQParser fp)
Parse the user input into a ValueSource.
|
public static Map<String,ValueSourceParser> standardValueSourceParsers
public void init(NamedList args)
init
in interface NamedListInitializedPlugin
public abstract ValueSource parse(FunctionQParser fp) throws SyntaxError
SyntaxError
public static ValueSourceParser addParser(String name, ValueSourceParser p)
public static ValueSourceParser addParser(org.apache.solr.search.NamedParser p)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.