Importing real-time index

When searchd is switched from Plain mode to RT mode, real-time indexes can be imported using the IMPORT TABLE statement. The general syntax is as follows:

IMPORT TABLE table_name FROM 'path'

All index files are copied to data_dir. All external index files such as wordforms, exceptions and stopwords are also copied to data_dir. IMPORT TABLE has the following limitations:

  • paths to external files that were originally specified in the config file must be absolute
  • only real-time indexes are supported
  • plain indexes need to be converted to real-time indexes via ATTACH INDEX