public abstract class DocsNodesAndPositionsEnum extends Object implements DocsAndNodesIterator, PositionsIterator
NO_MORE_DOC, NO_MORE_NODNO_MORE_POS| Constructor and Description |
|---|
DocsNodesAndPositionsEnum() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.util.AttributeSource |
attributes()
Returns the related attributes.
|
abstract int |
nodeFreqInDoc()
Returns node frequency in the current document.
|
abstract int |
termFreqInNode()
Returns term frequency in the current node.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoc, nextDocument, nextNode, node, skipTonextPosition, pospublic org.apache.lucene.util.AttributeSource attributes()
public abstract int termFreqInNode()
throws IOException
DocsAndNodesIterator.nextNode() is first called,
nor after DocsAndNodesIterator.nextNode() returns false or
DocsAndNodesIterator.node() returns DocsAndNodesIterator.NO_MORE_NOD.IOExceptionpublic abstract int nodeFreqInDoc()
throws IOException
#nextDoc is first called,
nor after #nextDoc returns false or
DocsAndNodesIterator.doc() returns DocsAndNodesIterator.NO_MORE_DOC.IOExceptionCopyright © 2014. All rights reserved.