Scroll to navigation

INDEXTOOL(1) Manticore Search INDEXTOOL(1)

NAME

indextool - Manticore Search tool dump miscellaneous debug information about the physical index.

SYNOPSIS

indextool {command} [options]

DESCRIPTION

Manticore Search is a collection of programs that aim to provide high quality fulltext search.

indextool is one of the helper tools within the Manticore Search package. It is used to dump miscellaneous debug information about the physical index. Apart ghe dumping indextool can perform index verification, hence the indextool name rather than just indexdump.

COMMANDS

The commands are as follows:

--dumpheader FILENAME.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.

--dumpconfig FILENAME.sph

dumps the index definition from the given index header file in (almost) compliant sphinx.conf file format.

--dumpheader INDEXNAME

dumps index header by index name with looking up the header path in the configuration file.

--dumpdocids INDEXNAME

dumps document IDs by index name. It takes the data from attribute (.spa) file and therefore requires docinfo=extern to work.

--dumphitlist INDEXNAME KEYWORD

dumps all the hits (occurrences) of a given keyword in a given index, with keyword specified as text.

--dumphitlist INDEXNAME --wordid ID

dumps all the hits (occurrences) 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.

--check INDEXNAME

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.

--help, -h

List all of the parameters that can be called in your particular build of indextool.

-v

show version information of your particular build of indextool.

OPTIONS

The only currently available option applies to all commands and lets you specify the configuration file:

--config CONFIGFILE, -c CONFIGFILE

overrides the built-in config file names.

AUTHOR

Manticore Software LTD (http://manticoresearch.com)

COPYRIGHT

Copyright 2017-2019 Manticore Software LTD (http://manticoresearch.com), 2008-2016 Sphinx Technologies Inc (http://sphinxsearch.com), 2001-2016 Andrew Aksyonoff

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.

SEE ALSO

indexer(1), searchd(1), search(1)

Manticore Search and it's programs are documented fully by the Manticore Search reference manual available in /usr/share/doc/manticore.

12/13/2018 2.7.0