Thursday, 22 January 2015

How to create apache solr search engine

A few days ago I got a question regarding the automatic identifiers of documents in Solr 3.x and 4.x, version , because the method from Solr 3 was deprecated. Because of that we decided to write a quick post about how to use Solr to generate documents unique identifier in Solr 4.x.

<field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" />