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 Detail

      • fromXContent

        FB fromXContent​(XContentParser parser)
                 throws java.io.IOException
        Throws:
        java.io.IOException