lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: [jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value
Date Wed, 24 Jun 2009 10:46:04 GMT
On Wed, Jun 24, 2009 at 4:05 PM, Erik Hatcher <erik@ehatchersolutions.com>wrote:

>
> But... since transformations are applied, solr_id will be in that map too,
> which is the uniqueKey value.  Problem solved!  :)
>

Erik, the most common use-case is the name of the table's primary key being
different from Solr's uniqueKey. We should not force the user to write a
Transformer to convert between them. This was the motivation behind keeping
the pk attribute.

I don't think pk should be removed at all.

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message