-// $Id$
/**
* Copyright (C) 2013 EDIT
* European Distributed Institute of Taxonomy
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.index.IndexReader;
-import org.apache.lucene.queryParser.QueryParser;
+import org.apache.lucene.queryparser.classic.QueryParser;
import org.hibernate.search.indexes.IndexReaderAccessor;
import eu.etaxonomy.cdm.model.common.CdmBase;
* Either creates a new QueryParser or returns the QueryParser which has
* been created before for the specified class. The QueryParsers per CdmBase
* type are cached in a Map.
+ * @param complexPhraseQuery TODO
*
* @return the QueryParser suitable for the lucene index of the given
* <code>clazz</code>
*/
- public abstract QueryParser getQueryParserFor(Class<? extends CdmBase> clazz);
+ public abstract QueryParser getQueryParserFor(Class<? extends CdmBase> clazz, boolean complexPhraseQuery);
/**
* <b>WARING</b> The implementation of this method might return an Analyzer
*/
public abstract IndexReaderAccessor getIndexReaderAccessor();
-}
\ No newline at end of file
+}