Package org.apache.solr.search.function

Examples of org.apache.solr.search.function.ValueSource


  public void init(NamedList args) {
    this.args = args;
  }

  public ValueSource parse(FunctionQParser fp) throws ParseException {
    ValueSource source = fp.parseValueSource();
    ValueSource result = new SimpleFloatFunction(source) {
      protected String name() {
        return "foo";
      }

      protected float func(int doc, DocValues vals) {
View Full Code Here

TOP

Related Classes of org.apache.solr.search.function.ValueSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.