RE: most popular/most commonly accessed records

2007-07-06 Thread Norskog, Lance
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

Re: most popular/most commonly accessed records

2007-07-06 Thread Peter Manis
Maybe create a snippet of code in the page of the video information that if the page was accessed from search results it will increment a counter within a database (sqlite, mysql, etc). You can then update solr every so often (daily, hourly, twice a day, etc) and include the hits. This would the

Re: most popular/most commonly accessed records

2007-07-06 Thread Walter Underwood
Solr doesn't have a record of what documents were accessed. The document cache shows which documents were in the parts of search result list which were served, but probably not a count of those inclusions. Luckily, this information is trivial to get from HTTP server access logs. Look for documents