On Wed, Feb 24, 2016 at 12:51 PM, Shawn Heisey 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
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. I would
Great! Thanks!
-Original message-
> From:Yonik Seeley
> Sent: Wednesday 24th February 2016 18:04
> To: solr-user@lucene.apache.org
> Subject: Re: /select changes between 4 and 5
>
> On Wed, Feb 24, 2016 at 11:21 AM, Markus Jelsma
> wrote:
> > Re: POST
On Wed, Feb 24, 2016 at 11:21 AM, Markus Jelsma
wrote:
> Re: POST in general still works for queries... I just verified it:
>
> This is not supposed to change i hope? We rely on POST for some huge
> automated queries. Instead of constantly increasing URL length limit, we rely
> on POST.
Yep, an
; Sent: Wednesday 24th February 2016 17:06
> To: solr-user@lucene.apache.org
> Subject: Re: /select changes between 4 and 5
>
> POST in general still works for queries... I just verified it:
>
> curl -XPOST "http://localhost:8983/solr/techproducts/select"; -d "q
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 }
}
On Wed, Feb 24, 2016 at 11:05 AM, Yonik Seeley wrote:
> POST in general still works for queries... I just
POST in general still works for queries... I just verified it:
curl -XPOST "http://localhost:8983/solr/techproducts/select"; -d "q=*:*"
Maybe it's your content-type (since it seems like you are posting
Python)... Were you using some sort of custom code that could
read/accept other content types?
With 4.10, we used to post JSON like this example (part of it is Python) to
/select:
{
"q": "LONG_QUERY_HERE",
"fq": fq,
"fl": ["id", "title", "date_of_information", "link", "search_text"],
"rows": 100,
"wt": "json",
"indent": "true",
"_": int(time.time())
}
We just up