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 type is string. Can I generate a uuid value from my
unique id string and insert it as a distinct uuid field in Solr?
1- Suppose my unique id type is uuid. If I try to insert a random string
which is not in uuid format, I get the "invalid uuid" error. Is there anyway
to generate a correct uuid value in solr GUI similar to what solrj
UUID.randomUUID().toString() generates?
Best,
Zahra
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html