public abstract class DocsNodesAndPositionsEnum extends Object implements DocsAndNodesIterator, PositionsIterator
NO_MORE_DOC, NO_MORE_NOD
NO_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, wait
doc, nextDocument, nextNode, node, skipTo
nextPosition, pos
public 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
.IOException
public abstract int nodeFreqInDoc() throws IOException
#nextDoc
is first called,
nor after #nextDoc
returns false or
DocsAndNodesIterator.doc()
returns DocsAndNodesIterator.NO_MORE_DOC
.IOException
Copyright © 2014. All rights reserved.