I'm trying to implement a feature that would list the 10 most recent
searches and the 10 most popular search terms (weighted by the number
of times the same term has been searched). Not sure how I can best
approach this, any help would be really appreciated.
You can index your user search queries into another index (with the hits they matched), and then get stats / data on it.
On Thursday, January 13, 2011 at 4:55 PM, poobah wrote:
Hi,
I'm trying to implement a feature that would list the 10 most recent
searches and the 10 most popular search terms (weighted by the number
of times the same term has been searched). Not sure how I can best
approach this, any help would be really appreciated.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.