Skip to content

Function Score weight returns the wrong reference #86

Closed
@tatarco

Description

@tatarco

by the documentation a function score can contain only weight and no other inner functions
in the java api in order to build the FunctionScore we must "hold" a "ContainerBuilder" object, that is only provided as
a response to exp, gauss etc, the weight method (FunctionScore.java:306) returns builder instead of returning ContainerBuilder making this use case impossible to invoke within the java Api

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions