1 |
432f6799
|
Andreas Müller
|
/**
|
2 |
|
|
* Copyright (C) 2007 EDIT
|
3 |
|
|
* European Distributed Institute of Taxonomy
|
4 |
|
|
* http://www.e-taxonomy.eu
|
5 |
|
|
*
|
6 |
|
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7 |
|
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8 |
|
|
*/
|
9 |
|
|
|
10 |
bedfcc4d
|
ben.clark
|
package eu.etaxonomy.cdm.persistence.dao;
|
11 |
|
|
|
12 |
|
|
import org.apache.lucene.queryParser.ParseException;
|
13 |
|
|
import org.apache.lucene.search.Query;
|
14 |
|
|
|
15 |
432f6799
|
Andreas Müller
|
/**
|
16 |
|
|
* @author b.clark
|
17 |
|
|
*/
|
18 |
bedfcc4d
|
ben.clark
|
public interface IAlternativeSpellingSuggestionParser {
|
19 |
|
|
public Query parse(String queryString) throws ParseException;
|
20 |
|
|
public Query suggest(String queryString) throws ParseException;
|
21 |
|
|
|
22 |
|
|
public void refresh();
|
23 |
|
|
}
|