I did not have the content type set appropriately, to
application/x-www-form-urlencoded.

:wistle:



Erik Hatcher wrote:
> 
> 
> On Jun 17, 2009, at 12:01 PM, Brian_K wrote:
> 
>>
>> Is it possible to query /select using http POST rather than GET?  Is  
>> the
>> syntax different it so?
>>
>> When I try, I receive an 500 response and a big fat exception.
>>
>> java.lang.NullPointerException
>>      at java.io.StringReader.<init>(Unknown Source)
>>      at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java: 
>> 169
> 
> Yes, POST works fine... I think you just missed providing the q  
> parameter, which is required in the most basic case.
> 
>       Erik
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-POSTing-to--select-tp24077130p24079690.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to