[
https://issues.apache.org/jira/browse/SOLR-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513891
]
Pieter Berkel commented on SOLR-308:
------------------------------------
>From the usage case you have provided, it sounds like the unique id will
>change every time you delete and re-insert the document. If this is the case,
>then perhaps it might be more efficient to use the lucene document id as your
>unique id value rather than a seperate field? However, as far as I'm aware,
>there currently isn't any way to access the lucene doc id from solr (except
>perhaps the luke request handler)?
> Add a field that generates an unique id when you have none in your data to
> index
> --------------------------------------------------------------------------------
>
> Key: SOLR-308
> URL: https://issues.apache.org/jira/browse/SOLR-308
> Project: Solr
> Issue Type: New Feature
> Components: search
> Reporter: Thomas Peuss
> Priority: Minor
> Attachments: GeneratedId.patch
>
>
> This patch adds a field that generates an unique id when you have no unique
> id in your data you want to index.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.