01: /*
02: * CVS information:
03: * $RCSfile$
04: * $Source$
05: * $Date: 2005-08-18 10:01:39 +0200 (Do, 18 Aug 2005) $
06: * $Author: til132 $
07: * $Revision: 172 $
08: */
09: package net.sf.regain.search.config;
10:
11: /**
12: *
13: * @author Tilman Schneider, STZ-IDA an der FH Karlsruhe
14: */
15: public interface SearchConfig {
16:
17: /**
18: * Gets the configuration for an index.
19: *
20: * @param indexName The name of the index to get the config for.
21: * @return The configuration for the wanted index or <code>null</code> if
22: * there is no such index configured.
23: */
24: public IndexConfig getIndexConfig(String indexName);
25:
26: /**
27: * Gets the names of the default indexes.
28: *
29: * @return The names of the default indexes or an empty array if no default
30: * index was specified.
31: */
32: public String[] getDefaultIndexNameArr();
33:
34: }
|