org.LexGrid.LexBIG.Impl.dataAccess
Class IndexQueryParserFactory
java.lang.Object
org.LexGrid.LexBIG.Impl.dataAccess.IndexQueryParserFactory
public class IndexQueryParserFactory
- extends java.lang.Object
Build the query parser to use for parsing the text portion of a user query.
One parser is shared across all indexes.
- Version:
- subversion $Revision: $ checked in on $Date: $
- Author:
- Dan Armbrust, Jesse Erdmann, Deepak Sharma, Kevin Peterson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexQueryParserFactory
protected IndexQueryParserFactory()
getLogger
protected LgLoggerIF getLogger()
getInstance
public static IndexQueryParserFactory getInstance()
parseQueryForField
public org.apache.lucene.search.Query parseQueryForField(java.lang.String field,
java.lang.String text)
throws LBParameterException
- Throws:
LBParameterException
getQueryProcessor
public org.apache.lucene.queryParser.QueryParser getQueryProcessor()
getQueryThreadSafeQueryParser
public static org.apache.lucene.queryParser.QueryParser getQueryThreadSafeQueryParser()
getExtraWhitespaceCharaters
public java.util.Set getExtraWhitespaceCharaters()