Class CompletionWeight

  • All Implemented Interfaces:
    SegmentCacheable

    public class CompletionWeight
    extends Weight
    Expert: the Weight for CompletionQuery, used to score and explain these queries.

    Subclasses can override setNextMatch(IntsRef), boost() and context() to calculate the boost and extract the context of a matched path prefix.

    WARNING: This API is experimental and might change in incompatible ways in the next release.