Documents in Lucene are read-only. You need to track accesses separately. You can have a changeble score value in your documents, but you'll have to re-index them for each change.
We use Google Analytics as a first cut. If you look at http:/www.divvio.com (pimping my employer) and look at the page source, down at the bottom we trigger a message to GA. Unforch it has our license key, which I think we want to change :) The next step is to use such dynamic statistics in calculating boosts; it seems like we would want to combine relational DB accesses with Lucene indexing to calculate relevance and boosts. Lance -----Original Message----- From: Karen Loughran [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 6:59 AM To: solr-user@lucene.apache.org Subject: most popular/most commonly accessed records Hi all, Is there a way through solr to find out about "most commonly accessed" solr documents ? So for example, my client may wish to list the top 10 most popular videos, based on previous accesses to them in the solr server db. If there are any solr features to help with this can someone point me to them ? Had a browse through the user documentation, but can't see anything obvious ? Many thanks Karen Loughran