kasykconfig - obtain or update configuration of a Kasyk index
kasykconfig [options] indexdir
The 'kasykconfig' executable sends the Kasyk configuration XML of an existing Kasyk index to standard output (STDOUT). It is also capable of updating the configuration of a Kasyk index when the --update option is specified.
The parameter is not optional. It specifies the name of a (local) directory that must have been created previously with Kasyk initializer (kasyknew). If the --update option is not specified, then the Kasyk configuration XML of the Kasyk index specified will be sent to standard output (STDOUT).
Configuration information should always conform to Kasyk configuration XML.
$ kasykconfig localindex <ENTER> <kasyk:config xmlns:kasyk="http://www.kasyk.org/1.0"> <creation> <property name="filename" type="string" value="unique"/> <property name="changed" type="number" value="keyed" hitlist="no"/> <texttype name="title" weight="2.5" hitlist="yes"/> </creation> <searching location="3333"/> </kasyk:config> $
Send the Kasyk configuration XML of the Kasyk index "localindex" to standard output (STDOUT).
$ kasykconfig localindex >configfile <ENTER> $
Write the Kasyk configuration XML of the Kasyk index "localindex" to file "configfile".
$ kasykconfig --update configfile localindex <ENTER> $
Update the Kasyk configuration XML of Kasyk index "localindex" with the contents of file "configfile".
$ kasykconfig localindex | xsltproc changes.xslt - | kasykconfig --update - localindex <ENTER>
Output the current Kasyk configuration XML of the Kasyk index "localindex" to act as input to the XSLT processor "xsltproc" using the stylesheet "changes.xslt" and use that result as the new configuration of the Kasyk index "localindex".
Please note that as yet only the validity of any new configuration XML is checked by itself, without taking potential conflicts with any current settings into account. Please also note that any changes made to the contents of the <creation> container are ignored, as these are only read when the first Kasyk document sequence XML is indexed with Kasyk indexer (kasykindex).
Kasyk home, Kasyk configuration XML, Kasyk initializer (kasyknew), Kasyk indexer (kasykindex), Kasyk searcher (kasyk), Kasyk server (kasykd), Kasyk caching query server (kasykcqd).
See http://www.kasyk.nl/program/kasykconfig.html for the most up-to-date version of this information.
See http://www.kasyk.nl/bugs/kasykconfig.html for the most up-to-date information about known bugs for 'kasykconfig'.
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.