lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <>
Subject [ContentStreamUpdateRequest] POST Http Request header
Date Fri, 13 Dec 2013 10:46:00 GMT
Hi guys,
I was working with the ContentStreamUpdateRequest in solr 4.5 to send to
Solr a document with a set of metaData through an HTTP POST request.

Following the tutorial  is easy to structure the request :


*UpdateResponse response = contentStreamUpdateRequest.process(solrServer);*

The problem is that all the params we sets are going to fill the header of
the POST http request while only the content stream will be in the body.
So, if we have a big load of metadata we risk to fill the Header and make
the application server to reject the packet.

We can of course increase the HttpRequestHeader limit of the application
container, but it's not what I want.
Do you think is possible to send those parameters in the body of the POST ?

Thank you for your attention,



Benedetti Alessandro
Visiting card :

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

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