15 mar 2007 kl. 11.21 skrev xiong:
Just like google: the more user clicks of search results, the higher rank they are.
Are you really sure Google does this? It would surprise me if they did.
How to implement this in lucene? I've read the javadoc of org.apache.lucene.search package, but still dont know how. Some sample code will be great.
As far as I know, there is no such thing implemented. Mechanisms that change based on user input are commonly known as "adaptive". You might want to search for something like that. I would personally implement it as a second level scoring in a HitCollector. It might be tricky to get it optimized though.
I hope this helps. -- karl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]