lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: adding document with nested document require to set id
Date Wed, 18 Nov 2015 23:31:21 GMT
If you have id listed as a required field (which I believe you need to
anyway), what do you actually get when you add a document without
nesting? What does the document echo back?

Because if you are getting a document back without id field when it is
declared required in the schema, that would be a problem of its own.

Newsletter and resources for Solr beginners and intermediates:

On 18 November 2015 at 17:35, CrazyDiamond <> wrote:
> i'm trying to add document with the nested objects but don't want id to be
> generated automatically.
> When i add document without nesting it's ok.But if i add  _childDocuments_
> there is an error [doc=null] missing required field: id
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

View raw message