org.apache.cxf.jaxrs.ext.search.lucene
Class LuceneQueryVisitor<T>
java.lang.Object
org.apache.cxf.jaxrs.ext.search.visitor.AbstractSearchConditionVisitor<T,org.apache.lucene.search.Query>
org.apache.cxf.jaxrs.ext.search.lucene.LuceneQueryVisitor<T>
- All Implemented Interfaces:
- SearchConditionVisitor<T,org.apache.lucene.search.Query>
public class LuceneQueryVisitor<T>
- extends AbstractSearchConditionVisitor<T,org.apache.lucene.search.Query>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneQueryVisitor
public LuceneQueryVisitor()
LuceneQueryVisitor
public LuceneQueryVisitor(String contentsFieldAlias,
String contentsFieldName)
LuceneQueryVisitor
public LuceneQueryVisitor(String contentsFieldName)
LuceneQueryVisitor
public LuceneQueryVisitor(Map<String,String> fieldsMap)
LuceneQueryVisitor
public LuceneQueryVisitor(Map<String,String> fieldsMap,
String contentsFieldName)
setContentsFieldMap
public void setContentsFieldMap(Map<String,String> map)
visit
public void visit(SearchCondition<T> sc)
getQuery
public org.apache.lucene.search.Query getQuery()
- Description copied from interface:
SearchConditionVisitor
- Return a built query object
- Returns:
- the query
parseExpression
protected org.apache.lucene.search.Query parseExpression(String fieldName,
String expression)
Apache CXF