The Solr indexer

The Solr indexer reads a queue of Xml documents in order to index them in Solr. A Xml document contains both data to be indexed and directive on how index the data.

A small Xml configuration provides the following information to the indexer :

  • solr url
  • solr commit and optimize strategy
  • queue path
  • log file name

Here is an small document to be indexed example

The indexer detects date values in order to make them compatible with Solr date type.