lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sreejith Variyath <>
Subject Nested document using ContentStreamUpdateRequest
Date Wed, 03 Jul 2019 09:44:10 GMT

I am tying to achieve below document nested structure in solr using
ContentStreamUpdateRequest. Its represent a document and its metadata.

    "id": "1235",
    "title": "test",
    "sourcemetadata": [{
        "id": "455"
    }, {
        "size": "455"
    "content": "this is the content"

But when I used ContentStreamUpdateRequest, I am not able to upload the
document to solr. Its throwing the error

missing required field:

Below the java code which I used.

            ContentStreamUpdateRequest contentStreamUpdateRequest = new

           ModifiableSolrParams params = new ModifiableSolrParams();

Could you please help me how to write nested documents in solr using
ContentStreamUpdateRequest ?

Best Regards,

*Sreejith Variyath*
Lead Software Engineer
Tarams Software Technologies Pvt. Ltd.
Venus Buildings, 2nd Floor 1/2,3rd Main,
Kalyanamantapa Road Jakasandra, 1st Block Kormangala
Bangalore - 560034
Tarams <>

w: <>

<>   <>

 The information in this message 
is confidential and may be legally 
privileged. It is intended solely for 
the addressee. Access to this 
message by anyone else is unauthorized. If 
you are not the intended 
recipient, any disclosure, copying, or 
distribution of the message, or 
any action or omission taken by you in 
reliance on it, is prohibited and
 may be unlawful. Please immediately 
contact the sender if you have 
received this message in error. Further, 
this e-mail may contain viruses
 and all reasonable precaution to minimize 
the risk arising there from 
is taken by Tarams. Tarams is not liable for 
any damage sustained by you
 as a result of any virus in this e-mail. All 
applicable virus checks 
should be carried out by you before opening this 
e-mail or any 
attachment thereto.
Thank you - Tarams Software Technologies 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message