[ 
https://issues.apache.org/jira/browse/SOLR-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513817
 ] 

Thomas Peuss commented on SOLR-308:
-----------------------------------

The use case is the following:
* We get catalog data from vendors.
* The only unique thing is the catalogid, which is of course the same for all 
rows in one catalog.
* In our webapp we request first only a few fields that are needed for the 
search result display.
* When the customer clicks on a product in the search result he gets a detailed 
page. To get the info from Solr we need a unique id to read the rest of the 
fields (50+). This id is generated by this code.

So you see we need this id only for reference. We do nothing more with it.

Maybe I overlooked something and this can be achieved with existing code. Any 
hint is welcome.

> 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.

Reply via email to