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 FB
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
-
Method Details
-
fromXContent
FB fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-