Just as a thought, would it be possible to expose the original query text from the QueryResultCache keys (Query) somehow? If that is possible, it would allow us to query the top N most frequent queries anytime for reasonable values of N.
On Fri, Jun 13, 2008 at 12:18 AM, Alexander Ramos Jardim < [EMAIL PROTECTED]> wrote: > Hello Jon, > > These are the fields in my search index: > <field name="context" type="string" indexed="true" stored="false" /> -- > Where on the site this search was made > <field name="word" type="string" indexed="false" stored="true" /> -- > Search > text > <field name="hits" type="sint" indexed="true" stored="true" /> -- Number > of > times this search was made > > How it works: > 1. When I someone hits the search functionality I put the search made on a > JMS to process searches statistics asynchronously. > 2. The search information in the JMS is read in short time intervals and > condensed. This way I get beans that contains exactly the information that > I > want to put on the index. > 3. I retrieve all the X most executed searches sorted by hits and update > their information using the one I got in (2). > 4. I empty the index. > 5. I update the search index using the information generated in (3). > > 2008/6/12 Jon Lehto <[EMAIL PROTECTED]>: > > > Are you doing anything 'fancy'? > > > > Thanks, > > Jon > > > > > > ===================== > > From: Alexander Ramos Jardim <[EMAIL PROTECTED]> > > Date: 2008/06/12 Thu PM 01:23:22 EDT > > To: solr-user@lucene.apache.org > > Subject: Re: Analytics e.g. "Top 10 searches" > > > > I keep this information on a separate index that I call > moreSearchedWords. > > I > > use it to generate tag clouds > > > > 2008/6/6 Matthew Runo <[EMAIL PROTECTED]>: > > > > > I'm nearly certain that everyone who maintains these stats does it > > > themselves in their 'front end'. It's very easy to log terms and > whatever > > > else just before or after sending the query off to Solr. > > > > > > Thanks! > > > > > > Matthew Runo > > > Software Developer > > > Zappos.com > > > 702.943.7833 > > > > > > > > > On Jun 6, 2008, at 3:51 AM, McBride, John wrote: > > > > > > > > >> Hello, > > >> > > >> Is anybody familiar with any SOLR-based analytical tools which would > > >> allow us to extract "top ten seaches", for example. > > >> > > >> I imagine at the query parse level, where the query is tokenized and > > >> filtered would be the best place to log this, due to the many > > >> permutations possible at the user input level. > > >> > > >> Is there an existing plugin to do this, or could you suggest how to > > >> architect this? > > >> > > >> Thanks, > > >> John > > >> > > >> > > > > > > > > > -- > > Alexander Ramos Jardim > > > > > > > -- > Alexander Ramos Jardim > -- Regards, Shalin Shekhar Mangar.