com.browseengine.bobo.search.section
Class TermNode

java.lang.Object
  extended by com.browseengine.bobo.search.section.SectionSearchQueryPlan
      extended by com.browseengine.bobo.search.section.AbstractTerminalNode
          extended by com.browseengine.bobo.search.section.TermNode

public class TermNode
extends AbstractTerminalNode

TermNode for SectionSearchQueryPlan


Nested Class Summary
 
Nested classes/interfaces inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
SectionSearchQueryPlan.NodeQueue
 
Field Summary
protected  int _positionInPhrase
           
 
Fields inherited from class com.browseengine.bobo.search.section.AbstractTerminalNode
_curPos, _posLeft, _tp
 
Fields inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
_curDoc, _curSec, NO_MORE_POSITIONS, NO_MORE_SECTIONS
 
Constructor Summary
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)
           
 
Method Summary
protected  int fetchPos()
           
 int fetchSec(int targetSec)
           
 int readSecId()
           
 
Methods inherited from class com.browseengine.bobo.search.section.AbstractTerminalNode
fetchDoc
 
Methods inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
fetch, getDocId, getSecId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_positionInPhrase

protected int _positionInPhrase
Constructor Detail

TermNode

public TermNode(org.apache.lucene.index.Term term,
                org.apache.lucene.index.IndexReader reader)
         throws IOException
Throws:
IOException

TermNode

public TermNode(org.apache.lucene.index.Term term,
                int positionInPhrase,
                org.apache.lucene.index.IndexReader reader)
         throws IOException
Throws:
IOException
Method Detail

fetchSec

public int fetchSec(int targetSec)
             throws IOException
Specified by:
fetchSec in class AbstractTerminalNode
Throws:
IOException

fetchPos

protected int fetchPos()
                throws IOException
Overrides:
fetchPos in class SectionSearchQueryPlan
Throws:
IOException

readSecId

public int readSecId()
              throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.