But is that the best approach?  If you use personIds in your second index
then you don't have to did that. Maybe you are after joins in Solr?

Otis
--
SOLR Performance Monitoring - http://sematext.com/spm
On Dec 11, 2012 1:21 PM, "Dikchant Sahi" <contacts...@gmail.com> wrote:

> Hi,
>
> We have two set of related indexes.
>
> Index1: person(personId, person_name, field2, field3)
> Index2: mapping (id, fieldx, fieldy, person)
>
> When ever any person name changes, we need to update both the indexes. For
> person field, we can update the person name as we have personId which is
> the uniqueKey. How can we update the person names in index2.
>
> Eg:
> Index1: person(001, Micheal Jackson, value1, value2)
>
> Index2: mapping(1234, Thriller, Micheal Jackson)
>                         (1235, Billy Jean, Micheal Jackson)
>
> *Micheal* Jackson changes to *Michael* Jackson
>
> What would be the best approach solution to this problem.
>
> Thanks,
> Dikchant
>

Reply via email to