Package org.apache.solr.search.function

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


  }

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


    public ValueSource parse(FunctionQParser fp) throws ParseException {
  ValueSource source = fp.parseValueSource();
  final float nvl = fp.parseFloat();

  return new SimpleFloatFunction(source) {
      protected String name() {
    return "nvl";
      }

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

    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.SimpleFloatFunction

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.