Re: Post/Get API call for Solr results differ from web query

2018-12-13 Thread Tanya Bompi
I found the issue. The single quotes in the request params were set to empty and require to be escaped with a '\'. Python instead of throwing an error message was simply concatenating the string which is a poor design. Below payload yields the same results as the web request in the solr portal. p

Re: Post/Get API call for Solr results differ from web query

2018-12-13 Thread Jan Høydahl
Hi I don't see what the actual problem is here. What were you expecting to see in the response, and what do you see? Please try to reproduce the issue you think you are seeing with a tool like cURL, you can issue both POST and GET requests with cURL and many other tools. The result should be ex

Post/Get API call for Solr results differ from web query

2018-12-13 Thread Tanya Bompi
Hi, I have a python scraper to query the solr index and get the top 'n' results and process further. What I see is with the setting of the bq parameter which has a lot of special chars, the output from the python call differs from the results I get from the query issued in the web Solr portal. I