|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.storage.search.implementation.database.informix.excalibur.EtxIndexCreator
The Etx index creator creates Excalibur Text Search indices,
when used with an Informix database and a Excalibur Text Search datablade.
This class is provided as a utility to supplement the
EtxSqlHandler.
When run as an application, the index creator reads a list of etx-indices
from a configuration file, and creates the indices that are not present
already.
The configurationfile must be named etxindices.xml and located
inside the databases configuration directory.
It's DTD is located in the directory
org.mmbase.storage.search.implementation.database.informix.excalibur.resources
in the MMBase source tree and
here online.
| Constructor Summary | |
EtxIndexCreator(java.lang.String configDir)
Creates a new instance of EtxIndexCreator, opens database connection. |
|
| Method Summary | |
void |
execute()
Executes the tasks: reads configuration file and creates indices as needed, and closes database connection. |
static void |
main(java.lang.String[] args)
Application main method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EtxIndexCreator(java.lang.String configDir)
throws java.lang.Exception
configDir - Path to MMBase configuration directory.| Method Detail |
public static void main(java.lang.String[] args)
Reads etxindices configuration file, and creates the etx indices that are not already created.
args - The command line arguments, should be path to
MMBase configuration directory.
public void execute()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||