Class QueryRescorer.QueryRescoreContext

java.lang.Object
org.elasticsearch.search.rescore.RescoreContext
org.elasticsearch.search.rescore.QueryRescorer.QueryRescoreContext
Enclosing class:
QueryRescorer

public static class QueryRescorer.QueryRescoreContext extends RescoreContext
  • Constructor Details

    • QueryRescoreContext

      public QueryRescoreContext(int windowSize)
  • Method Details

    • setQuery

      public void setQuery(org.apache.lucene.search.Query query)
    • getQueries

      public List<org.apache.lucene.search.Query> getQueries()
      Description copied from class: RescoreContext
      Returns queries associated with the rescorer
      Overrides:
      getQueries in class RescoreContext
    • query

      public org.apache.lucene.search.Query query()
    • queryWeight

      public float queryWeight()
    • rescoreQueryWeight

      public float rescoreQueryWeight()
    • scoreMode

      public QueryRescoreMode scoreMode()
    • setRescoreQueryWeight

      public void setRescoreQueryWeight(float rescoreQueryWeight)
    • setQueryWeight

      public void setQueryWeight(float queryWeight)
    • setScoreMode

      public void setScoreMode(QueryRescoreMode scoreMode)
    • setScoreMode

      public void setScoreMode(String scoreMode)