Class FunctionQuery


public class FunctionQuery extends Query
Returns a score for each document based on a ValueSource, often some function of the value of a field.
See Also:
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • Constructor Details

    • FunctionQuery

      public FunctionQuery(ValueSource func)
      func - defines the function to be used for scoring
  • Method Details