Class DocumentDictionary.DocumentInputIterator

java.lang.Object
org.apache.lucene.search.suggest.DocumentDictionary.DocumentInputIterator
All Implemented Interfaces:
InputIterator, BytesRefIterator
Enclosing class:
DocumentDictionary

protected class DocumentDictionary.DocumentInputIterator extends Object implements InputIterator
Implements InputIterator from stored fields.
  • Constructor Details

    • DocumentInputIterator

      public DocumentInputIterator(boolean hasPayloads, boolean hasContexts) throws IOException
      Creates an iterator over term, weight and payload fields from the lucene index. setting withPayload to false, implies an iterator over only term and weight.
      Throws:
      IOException
  • Method Details