If you want to modify the way Lucene scores documents, I guess you need to
extend Similarity class and provide your own implementation. Take a look at:

http://lucene.apache.org/java/2_4_1/api/org/apache/lucene/search/DefaultSimilarity.html
http://lucene.apache.org/java/2_4_1/api/org/apache/lucene/search/Similarity.html

Thanks,
Prashant.

2009/8/21 Fabrício Raphael <fabricio...@gmail.com>

> How to give a customize score for all documents independent of the vector
> model?
>
> I already know how to give a customize score, but I want to give this
> customize score for all documents in the collection, regardless of what is
> relevant to the vector model.
>
> How to do this?
>
> Now, thanks!
>
> --
> Fabrício Raphael
>

Reply via email to