Regain 2.1.0-STABLE API

net.sf.regain.search.config
Interface SearchConfig

All Known Implementing Classes:
XmlSearchConfig

public interface SearchConfig

Author:
Tilman Schneider, STZ-IDA an der FH Karlsruhe

Method Summary
 String[] getAllIndexNameArr()
          Gets the names of all indexes in the Configuration file.
 String[] getDefaultIndexNameArr()
          Gets the names of the default indexes.
 IndexConfig getIndexConfig(String indexName)
          Gets the configuration for an index.
 

Method Detail

getIndexConfig

IndexConfig getIndexConfig(String indexName)
Gets the configuration for an index.

Parameters:
indexName - The name of the index to get the config for.
Returns:
The configuration for the wanted index or null if there is no such index configured.

getDefaultIndexNameArr

String[] getDefaultIndexNameArr()
Gets the names of the default indexes.

Returns:
The names of the default indexes or an empty array if no default index was specified.

getAllIndexNameArr

String[] getAllIndexNameArr()
Gets the names of all indexes in the Configuration file.

Returns:
The names of the indexes or an empty array if no index was specified in the configuration file.

Regain 2.1.0-STABLE API

Regain 2.1.0-STABLE, Copyright (C) 2004-2010 Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.info