07-28-2017 05:40 AM
Is that Solr providing any option to write all the user search queries into files.
I have to log only queries run by users so that I can process on then to know what users is searching
I want to take all user request query to build a report.
08-01-2017 10:58 AM
The only current way to log solr request queries is:
Please set log4j.logger.org.apache.solr.core.SolrCore.Request=DEBUG to show queries before they are executed. Add this snippet to:
Cloudera Manager --> Solr --> Configuration --> Solr Server Logging Advanced Configuration Snippet (Safety Valve)
If this is set, queries will show a DEBUG log entry before they are executed, then an INFO with qtime and numDocs returned