Class RescorePhase

java.lang.Object
org.elasticsearch.search.rescore.RescorePhase

public class RescorePhase extends Object
Rescore phase of a search request, used to run potentially expensive scoring models against the top matching documents.
  • Method Details

    • execute

      public static void execute(SearchContext context)
    • validateSort

      public static boolean validateSort(SortAndFormats sortAndFormats)
      Returns whether the provided SortAndFormats can be used to rescore top documents.