Class DirectCandidateGenerator.Candidate

java.lang.Object
org.elasticsearch.search.suggest.phrase.DirectCandidateGenerator.Candidate
All Implemented Interfaces:
Comparable<DirectCandidateGenerator.Candidate>
Enclosing class:
DirectCandidateGenerator

public static class DirectCandidateGenerator.Candidate extends Object implements Comparable<DirectCandidateGenerator.Candidate>
  • Field Details

    • EMPTY

      public static final DirectCandidateGenerator.Candidate[] EMPTY
    • term

      public final org.apache.lucene.util.BytesRef term
    • stringDistance

      public final double stringDistance
    • termStats

      public final org.apache.lucene.codecs.TermStats termStats
    • score

      public final double score
    • userInput

      public final boolean userInput
  • Constructor Details

    • Candidate

      public Candidate(org.apache.lucene.util.BytesRef term, org.apache.lucene.codecs.TermStats termStats, double stringDistance, double score, boolean userInput)
  • Method Details