Class FunctionQuery

java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.queries.function.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)
      Parameters:
      func - defines the function to be used for scoring
  • Method Details