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
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
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