References

SQL commands

Schema management
Data management
Backup
SELECT
Flushing misc things
Real-time table optimization
Importing to a real-time table
Replication
Plain table rotate
Transactions
CALL
Plugins
Server status

HTTP endpoints

Common things

Common table settings
Plain table settings
Distributed table settings
RT table settings

Full-text search operators

Functions

Mathematical
Searching and ranking
Type casting
Arrays and conditions
Date and time
Geo-spatial
String

Common settings in configuration file

To be put to section common {} in configuration file: * lemmatizer_base - Lemmatizer dictionaries base path * progressive_merge - Defines order of merging disk chunks in a real-time table * json_autoconv_keynames - Whether and how to auto-convert key names within JSON attributes * json_autoconv_numbers - Automatically detects and converts possible JSON strings that represent numbers into numeric attributes * on_json_attr_error - What to do if JSON format errors are found * plugin_dir - Location for the dynamic libraries and UDFs

Indexer

indexer is a tool to create plain tables

Indexer settings in configuration file

To be put to section indexer {} in configuration file: * lemmatizer_cache - Lemmatizer cache size * max_file_field_buffer - Maximum file field adaptive buffer size * max_iops - Maximum indexation I/O operations per second * max_iosize - Maximum allowed I/O operation size * max_xmlpipe2_field - Maximum allowed field size for XMLpipe2 source type * mem_limit - Indexing RAM usage limit * on_file_field_error - How to handle IO errors in file fields * write_buffer - Write buffer size * ignore_non_plain - To ignore warnings about non-plain tables

Indexer start parameters
indexer [OPTIONS] [indexname1 [indexname2 [...]]]

Table converter from Manticore v2 / Sphinx v2

index_converter is a tool for converting tables created with Sphinx/Manticore Search 2.x to Manticore Search 3.x table format.

index_converter {--config /path/to/config|--path}
Table converter start parameters

Searchd

searchd is a Manticore server.

Searchd settings in a configuration file

To be put to section searchd {} in configuration file: * access_blob_attrs - Specifies how table’s blob attributes file is accessed * access_doclists - Specifies how table’s doclists file is accessed * access_hitlists - Specifies how table’s hitlists file is accessed * access_plain_attrs - Specifies how search server will access table’s plain attributes * agent_connect_timeout - Remote agent connection timeout * agent_query_timeout - Remote agent query timeout * agent_retry_count - Specifies how many times Manticore will try to connect and query remote agents * agent_retry_delay - Specifies the delay before retrying to query a remote agent in case it fails * attr_flush_period - Defines time period between flushing updated attributes to disk * binlog_flush - Binary log transaction flush/sync mode * binlog_max_log_size - Maximum binary log file size * binlog_path - Binary log files path * client_timeout - Maximum time to wait between requests when using persistent connections * collation_libc_locale - Server libc locale * collation_server - Default server collation * data_dir - Path to data directory where Manticore stores everything (RT mode) * docstore_cache_size - Maximum size of document blocks from document storage that are held in memory * expansion_limit - Maximum number of expanded keywords for a single wildcard * grouping_in_utc - Turns on using UTC timezone where grouping time fields * ha_period_karma - Agent mirror statistics window size * ha_ping_interval - Interval between agent mirror pings * hostname_lookup - Hostnames renew strategy * jobs_queue_size - Defines how many “jobs” can be in the queue at the same time * listen - Specifies IP address and port or Unix-domain socket path, that searchd will listen on * listen_backlog - TCP listen backlog * listen_tfo - Allows TCP_FASTOPEN flag for all listeners * log - Path to Manticore server log file * max_batch_queries - Limits the amount of queries per batch * max_connections - Maximum amount of active connections * max_filters - Maximum allowed per-query filter count * max_filter_values - Maximum allowed per-filter values count * max_open_files - Maximum num of files which allowed to be opened by server * max_packet_size - Maximum allowed network packet size * mysql_version_string - Server version string to return via MySQL protocol * net_throttle_accept - Defines how many clients are accepted on each iteration of the network loop * net_throttle_action - Defines how many requests are processed on each iteration of the network loop * net_wait_tm - Controls busy loop interval of a network thread * net_workers - Number of network threads * network_timeout - Network timeout for requests from clients * node_address - Specifies network address of the node * persistent_connections_limit - Maximum number of simultaneous persistent connections to remote persistent agents * pid_file - Path to Manticore server pid file * predicted_time_costs - Costs for the query time prediction model * preopen_tables - Whether to forcibly preopen all tables on startup * pseudo_sharding - Enables pseudo-sharding for search queries to plain and real-time tables * qcache_max_bytes - Maximum RAM allocated for cached result sets * qcache_thresh_msec - Minimum wall time threshold for a query result to be cached * qcache_ttl_sec - Expiration period for a cached result set * query_log - Path to query log file * query_log_format - Query log format * query_log_min_msec - Prevents logging too fast queries * query_log_mode - Query log file permissions mode * read_buffer_docs - Per-keyword read buffer size for document lists * read_buffer_hits - Per-keyword read buffer size for hit lists * read_unhinted - Unhinted read size * rt_flush_period - How often Manticore flush real-time tables’ RAM chunks to disk * rt_merge_iops - Maximum number of I/O operations (per second) that real-time chunks merging thread is allowed to do * rt_merge_maxiosize - Maximum size of an I/O operation that real-time chunks merging thread is allowed to do * seamless_rotate - Prevents searchd stalls while rotating tables with huge amounts of data to precache * secondary_indexes - Enables using secondary indexes for search queries * server_id - Server identifier used as a seed to generate a unique document ID * shutdown_timeout - Searchd --stopwait timeout * shutdown_token - SHA1 hash of the password required to invoke shutdown command from VIP SQL connection * snippets_file_prefix - Prefix to prepend to the local file names when generating snippets in load_files mode * sphinxql_state - Path to file where current SQL state will be serialized * sphinxql_timeout - Maximum time to wait between requests from a mysql client * ssl_ca - Path to SSL Certificate Authority certificate file * ssl_cert - Path to server’s SSL certificate * ssl_key - Path to SSL certificate key of the server * subtree_docs_cache - Maximum common subtree document cache size * subtree_hits_cache - Maximum common subtree hit cache size, per-query * thread_stack - Maximum stack size for a job * unlink_old - Whether to unlink .old table copies on successful rotation * watchdog - Whether to enable or disable Manticore server watchdog

Searchd start parameters
searchd [OPTIONS]
Searchd environment variables

Indextool

Miscellaneous table maintenance functionality useful for troubleshooting.

indextool <command> [options]
Indextool start parameters

Used to dump miscellaneous debug information about the physical table

indextool <command> [options]

Wordbreaker

Splits compound words into components.

wordbreaker [-dict path/to/dictionary_file] {split|test|bench}
Wordbreaker start parameters.

Spelldump

Used to extract contents of a dictionary file that uses ispell or MySpell format.

spelldump [options] <dictionary> <affix> [result] [locale-name]

List of reserved keywords

A complete alphabetical list of keywords that are currently reserved in Manticore SQL syntax (and therefore can not be used as identifiers).

AND, AS, BY, COLUMNARSCAN, DISTINCT, DIV, DOCIDINDEX, EXPLAIN, FACET, FALSE, FORCE, FROM, IGNORE, IN, INDEXES, IS, LIMIT, MOD, NOT, NO_COLUMNARSCAN, NO_DOCIDINDEX, NO_OPTIMIZEFULLTEXTFILTERS, NO_SECONDARYINDEX, NULL, OFFSET, OPTIMIZEFULLTEXTFILTERS, OR, ORDER, REGEX, RELOAD, SECONDARYINDEX, SELECT, SYSFILTERS, TRUE, USE

Documentation for old Manticore versions