If you need to analyze the search queries is not very difficult, just create a search plugin and put them in a db. If you need to search the single keywords it is more difficult and you need before starting to take some decision. In particular take the following queries and try to answer how you would like to treat them for the keywards:
1) apple OR orange 2) apple AND orange 3) title:apple AND subject:orange 4) apple -orange 5) apple OR (orange AND banana) 6) title:apple OR subject:orange Ciao Davide Marino 2012/10/3 Rajani Maski <rajinima...@gmail.com> > Hi All, > > I am using solrJ. When there is search query hit, I am logging the url > in a location and also it is getting logged into tomcat catalina logs. > Now I wanted to implement a functionality of periodically(per week) > analyzing search logs of solr and find out the keywords searched. Is there > a way to do it using any of the existing functionality of solr? If not, > Anybody has tried this implementation with any open source tools? > Suggestions welcome. . Awaiting reply > > > Thank you. >