9951 explained code solutions for 126 technologies

manticoresearchHow to index XML data

source text_src
  type = xmlpipe2
  xmlpipe_command = cat /path/to/data.xml

index text_idx {
  type = plain
  source = text_src
  path = /var/lib/manticore/data/test
}ctrl + c

name of the source block

type = xmlpipe2

let Manticore know that data will have XML format


command to execute to get XML data


path to the XML file


name of the index block and our index

source = text_src

which source to use


path to store index files in