## Uses of Interface
org.apache.lucene.search.spell.TermFreqIterator

- Packages that use TermFreqIterator
  Package | Description
  --- | ---
  org.apache.lucene.search.spell | Suggest alternate spellings for words.
  org.apache.lucene.search.suggest | Support for Autocomplete/Autosuggest
  org.apache.lucene.search.suggest.analyzing | Analyzer based autosuggest.
  org.apache.lucene.search.suggest.fst | Finite-state based autosuggest.
  org.apache.lucene.search.suggest.jaspell | JaSpell-based autosuggest.
  org.apache.lucene.search.suggest.tst | Ternary Search Tree based autosuggest.

- - ### Uses of TermFreqIterator in org.apache.lucene.search.spell

    Classes in org.apache.lucene.search.spell that implement TermFreqIterator
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `TermFreqIterator.TermFreqIteratorWrapper` Wraps a BytesRefIterator as a TermFreqIterator, with all weights set to `1`

  - ### Uses of TermFreqIterator in org.apache.lucene.search.suggest

    Classes in org.apache.lucene.search.suggest that implement TermFreqIterator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BufferingTermFreqIteratorWrapper` This wrapper buffers incoming elements.
    `class` | `SortedTermFreqIteratorWrapper` This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.
    `class` | `UnsortedTermFreqIteratorWrapper` This wrapper buffers the incoming elements and makes sure they are in random order.

    Methods in org.apache.lucene.search.suggest that return TermFreqIterator
    Modifier and Type | Method and Description
    --- | ---
    `TermFreqIterator` | FileDictionary.`getWordsIterator()`

    Methods in org.apache.lucene.search.suggest with parameters of type TermFreqIterator
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | Lookup.`build(TermFreqIterator tfit)` Builds up a new internal `Lookup` representation based on the given `TermFreqIterator`.

    Constructors in org.apache.lucene.search.suggest with parameters of type TermFreqIterator
    Constructor and Description
    `BufferingTermFreqIteratorWrapper(TermFreqIterator source)` Creates a new iterator, buffering entries from the specified iterator
    `SortedTermFreqIteratorWrapper(TermFreqIterator source)` Creates a new sorted wrapper, using `BytesRef.getUTF8SortedAsUnicodeComparator()` for sorting.
    `SortedTermFreqIteratorWrapper(TermFreqIterator source, Comparator<BytesRef> comparator)` Creates a new sorted wrapper, sorting by BytesRef (ascending) then cost (ascending).
    `UnsortedTermFreqIteratorWrapper(TermFreqIterator source)` Creates a new iterator, wrapping the specified iterator and returning elements in a random order.

  - ### Uses of TermFreqIterator in org.apache.lucene.search.suggest.analyzing

    Methods in org.apache.lucene.search.suggest.analyzing with parameters of type TermFreqIterator
    Modifier and Type | Method and Description
    --- | ---
    `void` | AnalyzingSuggester.`build(TermFreqIterator iterator)`

  - ### Uses of TermFreqIterator in org.apache.lucene.search.suggest.fst

    Methods in org.apache.lucene.search.suggest.fst with parameters of type TermFreqIterator
    Modifier and Type | Method and Description
    --- | ---
    `void` | WFSTCompletionLookup.`build(TermFreqIterator iterator)`
    `void` | FSTCompletionLookup.`build(TermFreqIterator tfit)`

  - ### Uses of TermFreqIterator in org.apache.lucene.search.suggest.jaspell

    Methods in org.apache.lucene.search.suggest.jaspell with parameters of type TermFreqIterator
    Modifier and Type | Method and Description
    --- | ---
    `void` | JaspellLookup.`build(TermFreqIterator tfit)`

  - ### Uses of TermFreqIterator in org.apache.lucene.search.suggest.tst

    Methods in org.apache.lucene.search.suggest.tst with parameters of type TermFreqIterator
    Modifier and Type | Method and Description
    --- | ---
    `void` | TSTLookup.`build(TermFreqIterator tfit)`

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.