Pardon. I'm lost.
Are you using
https://solr.apache.org/guide/solr/latest/indexing-guide/indexing-nested-documents.html
?
With that approach it's not possible to put parents and children
separately, they go strictly altogether.

On Fri, Feb 17, 2023 at 8:22 PM dmitri maziuk <dmitri.maz...@gmail.com>
wrote:

> On 2023-02-16 11:59 PM, Mikhail Khludnev wrote:
> > Hello,
> > May all of them clash by uniqueKey? If it has place children may wipe
> > parent. What do you get on *:*?
>
> uniqueKey does not clash between parent and child documents. Importer
> POSTs all parents first, with "type" : "parent" and "id" : uuid5 derived
> from (parent's) DB id.
>
> Then it POSTs all children with "id" : (child's) DB id and "_root_" :
> uuid5 derived from parent's DB id.
>
> It is actually working on another Solr node whose setup should be
> identical -- at least I don't see any differences -- so I know there is
> nothing wrong with what I am inserting.
>
> So is there a way to find out why exactly it's wiping out the parents?
> Or is it just a heisenbug in the twisted maze of little update
> processors, all alike?
>
> Dima
>
>

-- 
Sincerely yours
Mikhail Khludnev
https://t.me/MUST_SEARCH
A caveat: Cyrillic!

Reply via email to