Ok, thanks for the answer. 2013/4/26 Gora Mohanty <g...@mimirtech.com>
> On 26 April 2013 18:38, Furkan KAMACI <furkankam...@gmail.com> wrote: > > I am new to Solr and try to index rich files. I have defined that at my > > schema: > [...] > > <uniqueKey required="false"></uniqueKey> > > This will not work: Please see http://wiki.apache.org/solr/UniqueKey > for different use cases for the uniqueKey. > > For documents, I usually use the document name, or some segment > of the filesystem path as the uniqueKey as that is automatically > guaranteed to be unique. > > Regards, > Gora >