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/07/01 09:30:00 UTC
[jira] [Commented] (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=16529024#comment-16529024 ]
mosh commented on SOLR-12362:
-----------------------------
{quote}look at the SolrInputField parameter to look at the field we're adding this to (i.e. what key is this sub-json structure associated with?). Is that a field in the schema? If it is, then we have an "extended field value (partial update most likely). If it is not, then we have a child document.
{quote}
This works for partial updates fine, but it seems to fail on index time boosts, as the field can be indexed using a boost without having previously been indexed.
I have pushed a [commit|https://github.com/moshebla/lucene-solr/commit/1958ee7407e8e3d6e43dfa71a9e6a53c0e0dc4dc] showcasing the problem.
The tests JsonLoaderTest.testParsing and JsonLoaderTest.testFieldValueOrdering both seem to fail because of the problem described above.
> 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