The commands are as follows:
--dumpheaderFILENAME.sph
quickly dumps the provided index header file without touching any other index files or even the
configuration file. The report provides a breakdown of all the index settings, in particular the
entire attribute and field list. Prior to 0.9.9-rc2, this command was present in CLI search utility.
--dumpconfigFILENAME.sph
dumps the index definition from the given index header file in (almost) compliant sphinx.conf file
format.
--dumpheaderINDEXNAME
dumps index header by index name with looking up the header path in the configuration file.
--dumpdocidsINDEXNAME
dumps document IDs by index name. It takes the data from attribute (.spa) file and therefore requires
docinfo=extern to work.
--dumphitlistINDEXNAMEKEYWORD
dumps all the hits (occurences) of a given keyword in a given index, with keyword specified as text.
--dumphitlistINDEXNAME--wordidID
dumps all the hits (occurences) of a given keyword in a given index, with keyword specified as
internal numeric ID.
--htmlstrip INDEXNAME
filters stdin using HTML stripper settings for a given index, and prints the filtering results to
stdout. Note that the settings will be taken from sphinx.conf, and not the index header.
--checkINDEXNAME
checks the index data files for consistency errors that might be introduced either by bugs in indexer
and/or hardware faults.
--strip-path
strips the path names from all the file names referenced from the index (stopwords, wordforms,
exceptions, etc). This is useful for checking indexes built on another machine with possibly
different path layouts.
--optimize-rt-klists
optimizes the kill list memory use in the disk chunk of a given RT index. That is a one-off
optimization intended for rather old RT indexes, created by development versions prior to 1.10-beta
release. As of 1.10-beta releases, this kill list optimization (purging) should happen automatically,
and there should never be a need to use this option.