extending the title and name cache auto initializer by relationsFromThisName - #4174...
[cdmlib.git] / cdmlib-persistence / src / main / java / eu / etaxonomy / cdm / persistence / dao / IAlternativeSpellingSuggestionParser.java
1 /**
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 package eu.etaxonomy.cdm.persistence.dao;
11
12 import org.apache.lucene.queryParser.ParseException;
13 import org.apache.lucene.search.Query;
14
15 /**
16 * @author b.clark
17 */
18 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 }