kasyknew - create a new Kasyk index
kasyknew [options] newindexdir [configfile]
The 'kasyknew' executable creates a new Kasyk index with the specified Kasyk configuration XML, either read from the specified configuration file or from standard input (STDIN). It must be performed before it is possible to fill a Kasyk index with documents using Kasyk indexer (kasykindex).
The first parameter is not optional. It specifies the name of a (local) directory that may not yet exist.
The second parameter is optional. It specifies the name of the file that contains the Kasyk configuration XML with which the Kasyk index should be created. If it is not specified, it is assumed the Kasyk configuration XML will be provided by reading from standard input (STDIN).
If no error messages are displayed, then the creation of the Kasyk index was successful. This allows the Kasyk indexer (kasykindex) executable to index documents provided to it in the Kasyk document sequence XML format. After the necessary documents have been indexed, either Kasyk searcher (kasyk), Kasyk server (kasykd) or Kasyk caching query server (kasykcqd) can be used to search in the Kasyk index.
Changes to the configuration that need to be made after the Kasyk index has been created, should be made with the Kasyk configuration handler (kasykconfig) executable.
Configuration information should always conform to Kasyk configuration XML.
$ kasyknew localindex configfile <ENTER> $
Create the Kasyk index "localindex" with the Kasyk configuration XML that is stored in the file "configfile".
$ cat configfile | kasyknew localindex <ENTER> $
Create the Kasyk index "localindex" from Kasyk configuration XML that is provided on standard input (STDIN).
Kasyk home, Kasyk configuration XML, Kasyk query XML, Kasyk hitlist XML, Kasyk indexer (kasykindex), Kasyk searcher (kasyk), Kasyk server (kasykd), Kasyk caching query server (kasykcqd).
See http://www.kasyk.nl/program/kasyknew.html for the most up-to-date version of this information.
See http://www.kasyk.nl/bugs/kasyknew.html for the most up-to-date information about known bugs for 'kasyknew'.
Exit status is normally 0. Exit status 1 indicates a problem of some sort with an error message sent to STDERR and any active logfile.
Copyright © 2003 Dijkmat BV
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Kasyk Program Information: Kasyk version 1.0.0, generated on Tue Nov 25 12:09:47 2003.