On 5/26/2016 11:49 PM, Syedabbasmehdi Rizvi wrote: > I want to implement Most Popular search in Solr. Is there any OOTB > functionality in Solr that can achieve this? > I have had a good look in > StatsComponent<http://wiki.apache.org/solr/StatsComponent> as well as > TermsComponent<https://cwiki.apache.org/confluence/display/solr/The+Terms+Component> > but did not achieve what I want. What I basically want is that I get a set > of keywords or phrases that were searched most frequently over a given period > of time in Solr. Does Solr maintain a record of all the search that was made? > If no then how can I get record of these searches?
By default, Solr *logs* all queries that are made in solr.log, but it does not store them in any way that can be used to affect subsequent searches. This is something you would need to handle yourself. You could probably index/use the information with Solr, but Solr does not come with any functionality like this. Thanks, Shawn