Package org.apache.solr.search
Class ValueSourceParser
java.lang.Object
org.apache.solr.search.ValueSourceParser
- All Implemented Interfaces:
NamedListInitializedPlugin
- Direct Known Subclasses:
ChildFieldValueSourceParser,ExpressionValueSourceParser,GeoDistValueSourceParser,PercentileAgg.Parser,VectorSimilaritySourceParser
A factory parsing arguments (from
FunctionQParser) into a real function whose results are
emitted from a ValueSource. Custom ones can be registered by name and configured in
solrconfig.xml.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<String, ValueSourceParser> standard functions supported by default -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.lucene.queries.function.ValueSourceparse(FunctionQParser fp) Parse the user input into a ValueSource.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
Field Details
-
standardValueSourceParsers
standard functions supported by default
-
-
Constructor Details
-
ValueSourceParser
public ValueSourceParser()
-
-
Method Details
-
parse
public abstract org.apache.lucene.queries.function.ValueSource parse(FunctionQParser fp) throws SyntaxError Parse the user input into a ValueSource.- Throws:
SyntaxError
-