Re: query logging using query rest api

2016-05-02 Thread Vincenzo D'Amore
Hi Matteo, take a look at: https://cwiki.apache.org/confluence/display/solr/Configuring+Logging And also the comments: https://cwiki.apache.org/confluence/display/solr/Configuring+Logging#comment-thread-51808825 I have not tried but it seems interesting. On Mon, May 2, 2016 at 11:45 AM, Vince

Re: query logging using query rest api

2016-05-02 Thread Vincenzo D'Amore
Hi Matteo, trying a few of queries, using POST and GET method, you can see query params in logs appears only when you pass them in query string along with HTTP GET method. curl 'localhost:8983/solr/test/query?q=*:*' The reason of this behaviour (I think) is in the big difference between the size

Re: query logging using query rest api

2016-05-02 Thread Matteo Grolla
Hi Vincenzo, you're right -XGET shouldn't be there but curl is smart enough to ignore it so nothing changes eliminating it, tested. 2016-04-28 11:28 GMT+02:00 Vincenzo D'Amore : > Hi Matteo, > > there is a problem in your curl test: as far as I know you cannot use GET > HTTP method ( -XG

Re: query logging using query rest api

2016-04-28 Thread Vincenzo D'Amore
Hi Matteo, there is a problem in your curl test: as far as I know you cannot use GET HTTP method ( -XGET ) and pass parameters in POST (-d). Try to remove the -XGET parameter. On Thu, Apr 28, 2016 at 11:18 AM, Matteo Grolla wrote: > Hi, > I'm experimenting the query rest api with solr 5.4