Class LuceneDictionary

java.lang.Object
org.apache.lucene.search.spell.LuceneDictionary
All Implemented Interfaces:
Dictionary

public class LuceneDictionary extends Object implements Dictionary
Lucene Dictionary: terms taken from the given field of a Lucene index.
  • Constructor Details

    • LuceneDictionary

      public LuceneDictionary(IndexReader reader, String field)
      Creates a new Dictionary, pulling source terms from the specified field in the provided reader
  • Method Details