Try running the client with -Dline.separator='\n' to force the line
separator. 
https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html

However, if it that does work, it's probably a bug.

Regards,
   Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 24 November 2014 at 14:00, brian4 <bqu...@gmail.com> wrote:
> The problem seems to occur at the apache redirect - I found if I bypass
> apache by using my VM IP address directly as the Solr URL, then the error
> does not occur even from windows.
>
> From some searching it seems like Apache does not allow carriage returns in
> its request headers - so my guess is SolrJ is adding a carriage return in
> the request when run on Windows, but not on linux, so when receiving the
> request from Windows apache is spitting back an error.
>
> Is there any way to disable this behavior with SolrJ / have it generate
> consistent requests regardless of platform?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Indexing-with-SolrJ-fails-on-windows-tp4170687p4170690.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to