If you think this could be a problem for your performances you can try two different solutions:
1 - Make the call to update the db in a different thread 2 - Make an asynchronous http call to a web application that update the db (in this case the web app can be resident in a different machine, so the ram, cpu time and disk operations don't slow your solr engine) 2012/10/5 Rajani Maski <rajinima...@gmail.com> > Hi, > > Thank you for the reply Davide. > > Writing to db you mean to insert into db the search queries? I was > thinking that this might effect search performance? > Yes you are right, Getting stats for particular key word is tough. It would > suffice if I can get q param and fq param values( when we search using > standard request handler). Any open source solr log analysis tools? Can we > achieve this with solrmeter? Has anyone tried with this? > > Thank You > > > > > On Thu, Oct 4, 2012 at 2:07 PM, Davide Lorenzo Marino < > davide.mar...@gmail.com> wrote: > > > 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. > > > > > >