public static class CodedNodeSetImpl.QueryBuilder extends java.lang.Object implements Restriction
Restriction
s set on this CodedNodeSetImpl
that
can be converted into a Lucene Query
on demand.Constructor and Description |
---|
QueryBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
add(Restriction restriction,
org.apache.lucene.search.BooleanClause.Occur occur) |
org.apache.lucene.search.Query |
getQuery() |
void |
setMinimumNumberShouldMatch(int minimumNumberShouldMatch) |
java.lang.String |
toString() |
public void add(Restriction restriction, org.apache.lucene.search.BooleanClause.Occur occur)
public org.apache.lucene.search.Query getQuery() throws LBException, InternalException
getQuery
in interface Restriction
LBException
InternalException
public void setMinimumNumberShouldMatch(int minimumNumberShouldMatch)
public java.lang.String toString()
toString
in class java.lang.Object