-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@id and UUID #15
Comments
I have the same issue where-in while saving documents. Did anyone find a solution/workaround to this issue
|
Hi I am trying to use Solr for my use case where UUID is used as identifier;
Hence i my code is ass follows
@org.springframework.data.annotation.Id //@Field("id") //@Indexed(type = "java.util.UUID", name = "id") @Indexed(type = "solr.UUIDField", name = "id") private UUID uid;
and solr Schema is as follows
<uniqueKey>id</uniqueKey> <fieldType name="uuid" class="solr.UUIDField" sortMissingLast="true" /> <field name="id" type="uuid" indexed="true" stored="true" required="true" multiValued="false" />
I tied to configure solr as;
Which failed as Solr doe nto return UUID on Update. now i am trying to send UUID with update request and was responded back with ;
org.apache.solr.common.SolrException: Invalid UUID String: 'org.apache.solr.common.SolrInputField:id=e550e68b-ddbb-4d15-be95-69ff38343ba2'
Can you suggest what is possible solution
The text was updated successfully, but these errors were encountered: