To have consistent API unsetting nested documents should work the same as unsetting regular fields. For regular fields this is possible and also documented.
On Fri, Nov 22, 2019 at 7:54 PM Bar Rotstein (Jira) <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/SOLR-13961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980409#comment-16980409 > ] > > Bar Rotstein commented on SOLR-13961: > ------------------------------------- > > Does solr support setting a value as null at the moment? > > > > I wonder whether this is the way to go, since you can delete the child > document using the nested atomic update delete operation. > > > Unsetting Nested Documents using Atomic Update leads to SolrException: > undefined field > > > -------------------------------------------------------------------------------------- > > > > Key: SOLR-13961 > > URL: https://issues.apache.org/jira/browse/SOLR-13961 > > Project: Solr > > Issue Type: Bug > > Security Level: Public(Default Security Level. Issues are Public) > > Components: Tests, UpdateRequestProcessors > > Affects Versions: master (9.0), 8.3, 8.4 > > Reporter: Thomas Wöckinger > > Priority: Critical > > Labels: easyfix > > Time Spent: 10m > > Remaining Estimate: 0h > > > > Using null or empty collection to unset nested documents (as suggested > by documentation) leads to SolrException: undefined field ... . > > > > -- > This message was sent by Atlassian Jira > (v8.3.4#803005) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org > For additional commands, e-mail: issues-h...@lucene.apache.org > >