Re: Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread OTH
Thanks, great, it's working now! Omer On Sun, Feb 26, 2017 at 8:24 PM, Alexandre Rafalovitch wrote: > It is not enough to declare URP chain, you have to invoke it. > > Either by marking it default or by adding the update.chain parameter > to the request handler (or in initParams) you use to upda

Re: Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread Alexandre Rafalovitch
It is not enough to declare URP chain, you have to invoke it. Either by marking it default or by adding the update.chain parameter to the request handler (or in initParams) you use to update the documents (usually /update). See, for example: https://github.com/apache/lucene-solr/blob/master/solr/s

Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread OTH
Hello all, First of all, I am very new to Solr. I am using Solr version 6.4.1. I have a Solr core (non-cloud), where there is a mandatory unique key field called "id". I am trying to add documents to the core from Java, without having to specify the "id" field explicitly; i.e. to have it auto-g