com.browseengine.bobo.search.section
Class PhraseNode

java.lang.Object
  extended by com.browseengine.bobo.search.section.SectionSearchQueryPlan
      extended by com.browseengine.bobo.search.section.AndNode
          extended by com.browseengine.bobo.search.section.PhraseNode

public class PhraseNode
extends AndNode

Phrase operator node for SectionSearchQUeryPlan


Nested Class Summary
 
Nested classes/interfaces inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
SectionSearchQueryPlan.NodeQueue
 
Field Summary
 
Fields inherited from class com.browseengine.bobo.search.section.AndNode
_subqueries
 
Fields inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
_curDoc, _curSec, NO_MORE_POSITIONS, NO_MORE_SECTIONS
 
Constructor Summary
PhraseNode(TermNode[] termNodes, org.apache.lucene.index.IndexReader reader)
           
 
Method Summary
 int fetchDoc(int targetDoc)
           
protected  int fetchPos()
           
 int fetchSec(int targetSec)
           
 
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
 

Constructor Detail

PhraseNode

public PhraseNode(TermNode[] termNodes,
                  org.apache.lucene.index.IndexReader reader)
           throws IOException
Throws:
IOException
Method Detail

fetchDoc

public int fetchDoc(int targetDoc)
             throws IOException
Overrides:
fetchDoc in class AndNode
Throws:
IOException

fetchSec

public int fetchSec(int targetSec)
             throws IOException
Overrides:
fetchSec in class AndNode
Throws:
IOException

fetchPos

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


Copyright © 2011. All Rights Reserved.