Importing index

If you decide to migrate from Plain mode to RT mode and in some other cases, real-time and percolate indexes built in the plain mode can be imported to Manticore running in the RT mode using the IMPORT TABLE statement. The general syntax is as follows:

IMPORT TABLE table_name FROM 'path'

All index files of the specified index are then copied to data_dir. All external index files such as wordforms, exceptions and stopwords are also copied to the same 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 and percolate indexes are supported
  • plain indexes need to be preliminarily (in the plain mode) converted to real-time indexes via ATTACH INDEX