Re: /select changes between 4 and 5

2016-02-24 Thread Yonik Seeley
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": {

Re: /select changes between 4 and 5

2016-02-24 Thread Shawn Heisey
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

RE: /select changes between 4 and 5

2016-02-24 Thread Markus Jelsma
Great! Thanks! -Original message- > From:Yonik Seeley <ysee...@gmail.com> > 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 >

Re: /select changes between 4 and 5

2016-02-24 Thread Yonik Seeley
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,

RE: /select changes between 4 and 5

2016-02-24 Thread Markus Jelsma
t;ysee...@gmail.com> > 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

Re: /select changes between 4 and 5

2016-02-24 Thread Mike Thomsen
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

Re: /select changes between 4 and 5

2016-02-24 Thread Yonik Seeley
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?

/select changes between 4 and 5

2016-02-24 Thread Mike Thomsen
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