Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
QueryFactoryResult
(Query luceneQuery)
Default constructor that sets mustNotOccur to false.
Parameters
luceneQuery
| the query to wrap. Must not be null. |
public
QueryFactoryResult
(Query luceneQuery, boolean mustNotOccur)
Create the result with the passed result and flag.
Parameters
luceneQuery
| the query to add. Must not be null. |
mustNotOccur
| the flag to add to the result. |
Public Methods
public
boolean
equals
(Object o)
public
Query
getLuceneQuery
()
Parameters
results
| a list of results you want to merge; must not be null or contain nulls |
Returns
- non-false results merged in a new boolean query with SHOULD. The result should never need negation, i.e.
mustNotOccur()
will always be false.
public
boolean
mustNotOccur
()