You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "mosh (JIRA)" <ji...@apache.org> on 2018/09/13 03:54:00 UTC
[jira] [Comment Edited] (SOLR-12362) JSON loader should save the
relationship of children
[ https://issues.apache.org/jira/browse/SOLR-12362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612972#comment-16612972 ]
mosh edited comment on SOLR-12362 at 9/13/18 3:53 AM:
------------------------------------------------------
{quote}I know there were some syntax ambiguities but I thought we solved them by looking for the unique key in a child map to differentiate an atomic update from a child doc.
{quote}
If I recall correctly, we used this to allow a grace period before child documents are stored inside SolrInputField.
{code:javascript}@link CommonParams#ANONYMOUS_CHILD_DOCS} Defaults to true.
{code}
This seemed like a major change at the time, so we decided to set it to true by default, to give it time until we get this up to scratch.
was (Author: moshebla):
{quote}I know there were some syntax ambiguities but I thought we solved them by looking for the unique key in a child map to differentiate an atomic update from a child doc.
{quote}
If I recall correctly, we used this to allow a grace period before child documents are stored inside SolrInputField.
{quote}@link CommonParams#ANONYMOUS_CHILD_DOCS} Defaults to true.
{quote}
This seemed like a major change at the time, so we decided to set it to true by default, to give it time until we get this up to scratch.
> JSON loader should save the relationship of children
> ----------------------------------------------------
>
> Key: SOLR-12362
> URL: https://issues.apache.org/jira/browse/SOLR-12362
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: mosh
> Assignee: David Smiley
> Priority: Major
> Fix For: 7.5
>
> Time Spent: 6.5h
> Remaining Estimate: 0h
>
> Once _childDocuments in SolrInputDocument is changed to a Map, JsonLoader should add the child document to the map while saving its key name, to maintain the child's relationship to its parent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org