thinkmap.server.search
Class QueryBuilder
java.lang.Object
thinkmap.server.search.QueryBuilder
public class QueryBuilder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FULL_TEXT_FIELD
public static final String FULL_TEXT_FIELD
- See Also:
- Constant Field Values
ENTITY_TYPE_FIELD
public static final String ENTITY_TYPE_FIELD
- See Also:
- Constant Field Values
QueryBuilder
public QueryBuilder(Searchable s)
parseQuery
public org.apache.lucene.search.Query parseQuery(String search)
throws org.apache.lucene.queryParser.ParseException
- Throws:
org.apache.lucene.queryParser.ParseException
parseQuery
public org.apache.lucene.search.Query parseQuery(Message m)
throws org.apache.lucene.queryParser.ParseException
- Throws:
org.apache.lucene.queryParser.ParseException
buildRHS
protected org.apache.lucene.search.Query buildRHS(String field,
Object value)
throws org.apache.lucene.queryParser.ParseException
- Throws:
org.apache.lucene.queryParser.ParseException
constructParser
protected org.apache.lucene.queryParser.QueryParser constructParser()
queryFor
protected org.apache.lucene.search.Query queryFor(String field,
Object value)
throws org.apache.lucene.queryParser.ParseException
- Throws:
org.apache.lucene.queryParser.ParseException
queryFor
protected <T> org.apache.lucene.search.Query queryFor(FieldDef<T> fd,
Object value)
throws org.apache.lucene.queryParser.ParseException
- Throws:
org.apache.lucene.queryParser.ParseException
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.