org.compass.core.lucene.engine.queryparser
Interface LuceneQueryParser

All Known Implementing Classes:
DefaultLuceneQueryParser, SpellCheckLuceneQueryParser

public interface LuceneQueryParser

A Lucene query parsers allows to plug in different parsers responsible for parsing a query string into a Lucene Query.

Author:
kimchy

Method Summary
 QueryHolder parse(String[] properties, QueryParser.Operator operator, Analyzer analyzer, boolean forceAnalyzer, String queryString)
           
 QueryHolder parse(String property, QueryParser.Operator operator, Analyzer analyzer, boolean forceAnalyzer, String queryString)
           
 

Method Detail

parse

QueryHolder parse(String property,
                  QueryParser.Operator operator,
                  Analyzer analyzer,
                  boolean forceAnalyzer,
                  String queryString)
                  throws SearchEngineQueryParseException
Throws:
SearchEngineQueryParseException

parse

QueryHolder parse(String[] properties,
                  QueryParser.Operator operator,
                  Analyzer analyzer,
                  boolean forceAnalyzer,
                  String queryString)
                  throws SearchEngineQueryParseException
Throws:
SearchEngineQueryParseException


Copyright (c) 2004-2008 The Compass Project.