Class DirectCandidateGenerator

java.lang.Object
org.elasticsearch.search.suggest.phrase.CandidateGenerator
org.elasticsearch.search.suggest.phrase.DirectCandidateGenerator

public final class DirectCandidateGenerator extends CandidateGenerator
  • Constructor Details

    • DirectCandidateGenerator

      public DirectCandidateGenerator(org.apache.lucene.search.spell.DirectSpellChecker spellchecker, String field, org.apache.lucene.search.spell.SuggestMode suggestMode, org.apache.lucene.index.IndexReader reader, double nonErrorLikelihood, int numCandidates) throws IOException
      Throws:
      IOException
    • DirectCandidateGenerator

      public DirectCandidateGenerator(org.apache.lucene.search.spell.DirectSpellChecker spellchecker, String field, org.apache.lucene.search.spell.SuggestMode suggestMode, org.apache.lucene.index.IndexReader reader, double nonErrorLikelihood, int numCandidates, org.apache.lucene.analysis.Analyzer preFilter, org.apache.lucene.analysis.Analyzer postFilter, org.apache.lucene.index.Terms terms) throws IOException
      Throws:
      IOException
  • Method Details