How to show Apache SOLR queries in "Query" tab?
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..
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.