Interface ScoreFunctionParser<FB extends ScoreFunctionBuilder<FB>>

All Known Implementing Classes:
DecayFunctionParser
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ScoreFunctionParser<FB extends ScoreFunctionBuilder<FB>>
Parses XContent into a ScoreFunctionBuilder.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromXContent(org.elasticsearch.xcontent.XContentParser parser)
     
  • Method Details

    • fromXContent

      FB fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException
      Throws:
      IOException