Summary
Nested Classes |
class |
QueryVisitor.QueryVisitorFactory |
|
[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()
|
|
Fields
Public Constructors
Public Methods
Create a lucene query for the passed clause.
NOTE: The query generated by this method will probably not run in Lucene even though it is correct. Lucene has
some quirks when dealing with negative queries. Lucene will not search for negative queries, it will only filter
the results from a positive query (e.g. +project:monkey -status:blocker will work while -status:blocker will
not).
NOTE: This visitor will push all instances of the NotClause
out of the tree
by using the DeMorgansVisitor
so that the terminal clauses will handle
all the negation logic and the visitor does not need to deal with NOT's.
Parameters
clause
| the clause to process. |
Returns
- the generated lucene query.
Protected Methods