php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

How to show Apache SOLR queries in "Query" tab?

Open InternetMaster1 opened this issue 9 years ago • 1 comments

Hi,

I am using the Laravel integration for using php-debugbar.

We are currently using it to display all mysql queries running in our application.

Could you please help me as to how to display the Apache SOLR queries too in the "Query" tab?

For Apache SOLR, we have used the apache-solr-client. Please check the usage example.

Could you please guide me as to what modification would be needed to the laravel-debugbar library to enable showing these queries too in the "Query" tab?

Note: FYI, added an issue at the laravel barryvdh repository too..

InternetMaster1 avatar Nov 19 '16 12:11 InternetMaster1

You should create your own collector: http://phpdebugbar.com/docs/data-collectors.html#creating-collectors You can extend the existing query collectors if you want.

barryvdh avatar Nov 21 '16 12:11 barryvdh