Class Suggester

    • Field Detail

      • LOCATION

        public static final String LOCATION
        Location of the source data - either a path to a file, or null for the current IndexReader.
        See Also:
        Constant Field Values

        public static final String LOOKUP_IMPL
        Fully-qualified class of the Lookup implementation.
        See Also:
        Constant Field Values

        public static final String THRESHOLD_TOKEN_FREQUENCY
        Minimum frequency of terms to consider when building the dictionary.
        See Also:
        Constant Field Values
      • STORE_DIR

        public static final String STORE_DIR
        Name of the location where to persist the dictionary. If this location is relative then the data will be stored under the core's dataDir. If this is null the storing will be disabled.
        See Also:
        Constant Field Values
      • sourceLocation

        protected String sourceLocation
      • storeDir

        protected Path storeDir
      • threshold

        protected float threshold
      • dictionary

        protected dictionary
      • reader

        protected org.apache.lucene.index.IndexReader reader
      • lookup

        protected lookup
      • lookupImpl

        protected String lookupImpl
    • Constructor Detail

      • Suggester

        public Suggester()