Re: changing scoring formula

2008-03-08 Thread John Wang
you can always modify the raw lucene score in the hitCollector. -John On Wed, Mar 5, 2008 at 1:16 PM, sumittyagi <[EMAIL PROTECTED]> wrote: > > is there any way to change the score of the documents. > Actually i want to modify the scores of the documents dynamically, > everytime > for a given que

Re: changing scoring formula

2008-03-05 Thread Michael Stoppelman
Sumit, The class you'll end up subclassing from would be: http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/search/Similarity.htmlor http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/search/DefaultSimilarity.html On an IndexSearcher