Re: using uuid for documents

2018-09-21 Thread Zahra Aminolroaya
Hello Alfonso, I expected that we could use *uuid* updateRequestProcessorChain like below for generating unique value for unique key: uniqueKey However, I saw that you used *dedupe* updateRequestProcessorChain as below; true ……… I wonder if we can use *UUIDUpdateP

Re: using uuid for documents

2018-09-18 Thread Alfonso Muñoz-Pomer Fuentes
Hi Zahra, I’m not sure I understand your question. Could you explain with more detail what it is that you want to achieve? > On 18 Sep 2018, at 06:00, Zahra Aminolroaya wrote: > > Hello Alfonso, > > > Thanks. You used the dedupe updateRequestProcessorChain, so for this > application we canno

Re: using uuid for documents

2018-09-17 Thread Zahra Aminolroaya
Hello Alfonso, Thanks. You used the dedupe updateRequestProcessorChain, so for this application we cannot use the uuid updateRequestProcessorChain individually?! Best, Zahra -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: using uuid for documents

2018-09-16 Thread Alfonso Muñoz-Pomer Fuentes
Hi Zahra, We had a similar issue in our collections and we solved this by generating a UUID value using the content of other fields, in reply to your first question. Have a look at the section https://lucene.apache.org/solr/guide/7_4/update-request-processors.html#custom-update-request-processo

using uuid for documents

2018-09-16 Thread Zahra Aminolroaya
I have two questions about using uuid: In Solr refs, it is stated that the unique id could be of uuid type. I found we can generate uuid when the doc id with uuid field type is null or we it is generated by using doc.addField("id", UUID.randomUUID().toString()) in solrj. 1- Suppose my unique id