On Wed, Feb 24, 2016 at 12:51 PM, Shawn Heisey <apa...@elyograg.org> wrote:
> On 2/24/2016 9:09 AM, Mike Thomsen wrote:
>> Yeah, it was a problem on my end. Not just the content-type as you
>> suggested, but I had to wrap that whole JSON body so it looked like this:
>>
>> {
>>     "params": { ///That block pasted here }
>> }
>
> I'm surprised you can get JSON to work at all.

Support for a JSON query body was added in 5x.
Still kind of experimental... I haven't had the time to flesh it out
more, but you can just put all the normal query params in the "params"
block.

http://yonik.com/solr-json-request-api/

-Yonik

Reply via email to