org.compass.core.lucene.engine.queryparser
Class DefaultLuceneQueryParser
java.lang.Object
org.compass.core.lucene.engine.queryparser.DefaultLuceneQueryParser
- All Implemented Interfaces:
- CompassConfigurable, CompassMappingAware, LuceneQueryParser
public class DefaultLuceneQueryParser
- extends Object
- implements LuceneQueryParser, CompassMappingAware, CompassConfigurable
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLuceneQueryParser
public DefaultLuceneQueryParser()
configure
public void configure(CompassSettings settings)
throws CompassException
- Description copied from interface:
CompassConfigurable
- Configure using the given settings.
- Specified by:
configure in interface CompassConfigurable
- Parameters:
settings - The settings for the configured object
- Throws:
CompassException
setCompassMapping
public void setCompassMapping(CompassMapping mapping)
- Description copied from interface:
CompassMappingAware
- Injects the component with the compass mappings.
- Specified by:
setCompassMapping in interface CompassMappingAware
parse
public Query parse(String property,
QueryParser.Operator operator,
Analyzer analyzer,
String queryString)
throws SearchEngineQueryParseException
- Specified by:
parse in interface LuceneQueryParser
- Throws:
SearchEngineQueryParseException
parse
public Query parse(String[] properties,
QueryParser.Operator operator,
Analyzer analyzer,
String queryString)
throws SearchEngineQueryParseException
- Specified by:
parse in interface LuceneQueryParser
- Throws:
SearchEngineQueryParseException
Copyright (c) 2004-2006 The Compass Project.