public class LuceneQueryVisitor<T> extends AbstractSearchConditionVisitor<T,org.apache.lucene.search.Query>
AbstractSearchConditionVisitor.ClassValue
Constructor and Description |
---|
LuceneQueryVisitor() |
LuceneQueryVisitor(org.apache.lucene.analysis.Analyzer analyzer) |
LuceneQueryVisitor(Map<String,String> fieldsMap) |
LuceneQueryVisitor(Map<String,String> fieldsMap,
String contentsFieldName) |
LuceneQueryVisitor(Map<String,String> fieldsMap,
String contentsFieldName,
org.apache.lucene.analysis.Analyzer analyzer) |
LuceneQueryVisitor(String contentsFieldName) |
LuceneQueryVisitor(String contentsFieldName,
org.apache.lucene.analysis.Analyzer analyzer) |
LuceneQueryVisitor(String contentsFieldAlias,
String contentsFieldName) |
LuceneQueryVisitor(String contentsFieldAlias,
String contentsFieldName,
org.apache.lucene.analysis.Analyzer analyzer) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
getQuery()
Return a built query object
|
void |
reset()
Resets visitor's internal state.
|
void |
setCaseInsensitiveMatch(boolean caseInsensitiveMatch) |
void |
setContentsFieldMap(Map<String,String> map) |
void |
visit(SearchCondition<T> sc) |
getFieldTypeConverter, getPrimitiveFieldClass, getPrimitiveFieldClass, getPrimitiveFieldClass, getRealPropertyName, isWildcardStringMatch, setFieldTypeConverter, setPrimitiveFieldTypeMap, setValidator, setWildcardStringMatch, validatePropertyValue, visitor
public LuceneQueryVisitor()
public LuceneQueryVisitor(org.apache.lucene.analysis.Analyzer analyzer)
public LuceneQueryVisitor(String contentsFieldName)
public LuceneQueryVisitor(String contentsFieldName, org.apache.lucene.analysis.Analyzer analyzer)
public LuceneQueryVisitor(Map<String,String> fieldsMap, String contentsFieldName)
public LuceneQueryVisitor(String contentsFieldAlias, String contentsFieldName, org.apache.lucene.analysis.Analyzer analyzer)
public void reset()
public void visit(SearchCondition<T> sc)
public org.apache.lucene.search.Query getQuery()
SearchConditionVisitor
public void setCaseInsensitiveMatch(boolean caseInsensitiveMatch)
Apache CXF