You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jamie Jackson <ja...@gmail.com> on 2014/10/03 21:16:57 UTC

Solrj: Cannot retry request with a non-repeatable request entity.

Please help me get over this obstacle:

Stack trace and (ColdFusion) snippet: https://gist.github.com/jamiejackson

(This is an attempt to get Solrj to perform a deleteByQuery
with ConcurrentUpdateSolrServer using basic authentication. I am a noob
with the entire Solrj and HTTPClient stack. )

Please let me know if you need more info.

FWIW, here's a message I got on the HttpClient mailing list:

Jamie
This question should have probably been addressed to Solrj community.
>From the HC standpoint you have three options
(1) make request entity repeatable
(2) force authentication by doing a GET prior to doing PUT or POST
(3) use 'expect-continue' handshake on the client side if the handshake
is supported by the server side.

Oleg


You'll notice that I tried to set "expect-continue" (commented out in my
snipppet), but that didn't seem to work.

Thanks,
Jamie