Hello Bogdan,
You described how it works now. That's how it was implemented. And I can
explain why it was done so.

Could you please describe the expected behavior for you?

Notice, I want to enforce nested (block) behavior always in scope of
https://issues.apache.org/jira/browse/SOLR-5211. So, the fields assigned to
parent with child and childless single doc will be the same. So, far it's
not clear how to amend <uniqueKey> semantic.

On Thu, Dec 3, 2015 at 6:35 PM, Bogdan Marinescu <
bogdan.marine...@awinta.com> wrote:

> Hi,
>
> I have a problem with nested docs. If I create a document with id: 1 and
> fieldA:sometext and then add it to sol'r, I get one doc in sol'r.
>
> Afterwards if I add a child/nested doc to this document I additionally get
> a _root_:1 to the document but the problem is I now have two documents with
> the same ID (id: 1) in sol'r, one with _root_ and the child/nested doc and
> one without it.
>
> Any ideas why this happens?
> Any ideas how to avoid this?
>
> Thanks,
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to