org.crosswire.jsword.book.search.lucene
Class OrQuery

java.lang.Object
  extended by org.crosswire.jsword.book.search.lucene.AbstractBinaryQuery
      extended by org.crosswire.jsword.book.search.lucene.OrQuery
All Implemented Interfaces:
Query

public class OrQuery
extends AbstractBinaryQuery

An or token specifies that a result needs to be in either the left and the right token.

Author:
DM Smith [ dmsmith555 at yahoo dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

Constructor Summary
OrQuery(Query theLeftToken, Query theRightToken)
           
 
Method Summary
 Key find(Index index)
           
 
Methods inherited from class org.crosswire.jsword.book.search.lucene.AbstractBinaryQuery
getLeftToken, getRightToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrQuery

public OrQuery(Query theLeftToken,
               Query theRightToken)
Method Detail

find

public Key find(Index index)
         throws BookException
Throws:
BookException

Copyright ยจ 2003-2005