-Re: [Lucene.Net] Decoding an index
Ben West 2011-12-13, 15:41
Lucid Imagination did a post on how to do this: http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
You basically just store each query in Lucene along with a count of how many times it's been searched.
----- Original Message -----
From: Sean Newham <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Tuesday, December 13, 2011 9:25 AM
Subject: RE: [Lucene.Net] Decoding an index
Ah, I see. Maybe I should do this somewhere else.
Thank you both for your help,
From: Wyatt Barnett [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2011 15:22
To: [EMAIL PROTECTED]
Subject: Re: [Lucene.Net] Decoding an index
We do some tracking of this ourselves, and I don't think lucene has
this sort of capability as it is something that makes alot more sense
to handle on the application layer where it understands the semantics
of your search.
On Tue, Dec 13, 2011 at 10:19 AM, Kevin Miller <[EMAIL PROTECTED]> wrote:
> We do this but it involves logging the search query to a database. We
> have an abstraction about search clients to do this.
> I recommend the Lucene In Action book. Quite good.
> On Dec 13, 2011, at 9:14 AM, Sean Newham <[EMAIL PROTECTED]> wrote:
>> I'm new to Lucene, and I was wondering if there was a quick, code way (preferably in c#, but I'll take python or java) of getting the list of most common search queries out. I've done a google, and found Luke (which is cool) and may start looking through its code as it clearly must be doing this somewhere, but my next step is to look through the Lucene docs. Any help would be appreciated, including telling me which docs to read, etc.
>> Best wishes,