3. Subclass org.apache.solr.search.ValueSource and instantiate it in your ValueSourceParser.parse() method. Lets take a look at 2 ValueSource implementations to see what they do, starting with the simplest: org.apache.solr.search.function.ConstValueSource Example SolrQuerySyntax: _val_:1.5 It simply returns a float value. public class ConstValueSource extends ValueSource { final float constant; pu