public class TermNode extends AbstractTerminalNode
SectionSearchQueryPlan.NodeQueue| Modifier and Type | Field and Description |
|---|---|
protected int |
_positionInPhrase |
_curPos, _posLeft, _tp_curDoc, _curSec, NO_MORE_POSITIONS, NO_MORE_SECTIONS| Constructor and Description |
|---|
TermNode(org.apache.lucene.index.Term term,
org.apache.lucene.index.IndexReader reader) |
TermNode(org.apache.lucene.index.Term term,
int positionInPhrase,
org.apache.lucene.index.IndexReader reader) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
fetchPos() |
int |
fetchSec(int targetSec) |
int |
readSecId() |
fetchDocfetch, getDocId, getSecIdpublic TermNode(org.apache.lucene.index.Term term,
org.apache.lucene.index.IndexReader reader)
throws IOException
IOExceptionpublic TermNode(org.apache.lucene.index.Term term,
int positionInPhrase,
org.apache.lucene.index.IndexReader reader)
throws IOException
IOExceptionpublic int fetchSec(int targetSec)
throws IOException
fetchSec in class AbstractTerminalNodeIOExceptionprotected int fetchPos()
throws IOException
fetchPos in class SectionSearchQueryPlanIOExceptionpublic int readSecId()
throws IOException
IOExceptionCopyright © 2005–2013. All rights reserved.