RE: Solr throws 400 from proxy but returns fine from browser.

2015-07-31 Thread Mark Horninger
); HttpURLConnection con = (HttpURLConnection) obj.openConnection(); // optional default is GET con.setRequestMethod(GET); con.setDoOutput(true); con.connect(); int responseCode = con.getResponseCode(); /*--SNIP!--*/ -Original Message- From: Mark

Solr throws 400 from proxy but returns fine from browser.

2015-07-30 Thread Mark Horninger
Hi, I am trying to work around a CORS issue on my app server side by standing up a proxy jsp in order to talk to Solr directly. It's really just a request forwarder at this point in time. The problem is that the same query I run through the proxy works fine through the browser, but when I

RE: Does Lucene 4.6.1 compatible with Java 8?

2015-07-23 Thread Mark Horninger
Xiaoling, I'm just a user of the Lucene (as Solr) and a newbie at that. I can't really speak on behalf of Lucene project, but I would start by looking at the Java 8 compatibliity guide available at http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html#A999387.