Hello,

I have documents with various tags, and each tag has a numeric score,
so one document might be tagged "sports:20, entertainment:5,
football:10", and another "entertainment:8, tv:4". I'd like to let
people search by one or more tags, e.g. "football tv", and have the
results sorted with higher-scored tags first. I thought I could do
this by adding a separate Field for each tag (all named "tag" or
whatever), and then boosting the fields according to their score. Does
that seem like a good approach, or is there some cleaner way? I've
been reading the Lucene in Action book and looking through the online
docs, but I haven't found this usage scenario anywhere.

Thanks,
Paul

-- 
_________________________________
Pulchritudo splendor veritatis.

Reply via email to