Class ExpressionValueSourceParser

  • All Implemented Interfaces:
    NamedListInitializedPlugin

    public class ExpressionValueSourceParser
    extends ValueSourceParser
    A ValueSource parser configured with a pre-compiled expression that can then be evaluated at request time. It's powered by the Lucene Expressions module, which is a subset of JavaScript.
    • Constructor Detail

      • ExpressionValueSourceParser

        public ExpressionValueSourceParser()
    • Method Detail

      • init

        public void init​(org.apache.solr.common.util.NamedList<?> args)
        Description copied from interface: NamedListInitializedPlugin
        init will be called just once, immediately after creation.

        Source of the initialization arguments will typically be solrconfig.xml, but will ultimately depends on the plugin itself

        Parameters:
        args - non-null list of initialization parameters (may be empty)