On Fri, Apr 24, 2009 at 1:39 PM, Marcus Herou <marcus.he...@tailsweep.com> wrote: > Great! That seems like something that could work. Depends on how that field > get's re-read/indexed I guess.
http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html It's a separate *text* file that just contains id/value pairs for a field. Calculate your custom score and save it to that file. Then call commit so the file is re-read and all your scores will be updated (and usable in a function query). So the short answer is, you should be able to do what you want with no Solr customization in Java... it's all built in. -Yonik http://www.lucidimagination.com