I doubt that the parameters are actually in the header - they really shouldn't be :-)
Do you have any means of capturing the entire http (POST) request? It could be that SolrJ is adding things to the header. What container are you running Solr under? Are you accessing Solr directly, or via a proxy? On Sat, Dec 14, 2013 at 1:24 PM, Alessandro Benedetti < [email protected]> wrote: > Raymond, > I have been monitoring http requests exchanged between ManifoldCF and Solr > in the last couple of days , and the params containing the couples > <literal.fieldName><value> > appear to be in the header of the http POST request. > > Furthermore I receive this exception : > http error code 413, FULL HEAD from the Solr Server ( in my default Solr > Server the limit was by default to 4kb and for some requests the header was > 5 Kb) > > Am I missing something ? I think the 3 different http web proxy monitor > application I used were working well, > but please give me evidence that I'm wrong. > > I'm here to understand better the problem :) > > > > > 2013/12/13 Karl Wright <[email protected]> > > > Raymond, > > > > Yes, I did not read Alessandro's objection thoroughly enough. > > The fields are sent in post data, as is the document itself. > > > > Karl > > > > > > > > On Fri, Dec 13, 2013 at 1:15 PM, Raymond Wiker <[email protected]> wrote: > > > > > This is incorrect - the field values are not placed in the http header. > > > > > > On 13 Dec 2013, at 15:06 , Alessandro Benedetti < > > > [email protected]> wrote: > > > > > > > Actually it can be a problem. > > > > For example your Solr is running in an application server with a > limit > > on > > > > the HttpRequestHeader. > > > > So the server will refuse all the requests that exceeds that limit. > > > > > > > > We are interested in only 3 metadata but Manifold extract n ( n>>3) > for > > > > each document. > > > > We can configure the mapping to map those 3 metadata. > > > > But the Post request is built with all the metadata from the > document , > > > it > > > > exceeds the request header and the document will be Rejected without > > > reason. > > > > > > > > So if the meaning of the Solr field mapping in a Job with a Solr > > > Connector > > > > it's to index only those fields, so the current behaviour it's a bug. > > > > For the reason I explained before. > > > > > > > > > > > > -- > -------------------------- > > Benedetti Alessandro > Visiting card : http://about.me/alessandro_benedetti > > "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 >
