Hello,

I want to score span queries based on the simple presence or absence of a hit 
(I'm not interested in Tf or Idf here), with a possible boost on specific 
spans.  I've already extended DefaultSimilarity to deal with single terms.  
From looking at the code it seems that I want to override 
TFIDFSimilary#sloppySimScorer to return a custom SloppySimScorer instance.  
However, this method has been declared final.  Am I going about this the wrong 
way?  Or should the SimScorer methods on TDIDFSimilarity be unfinalized?

I'm using Lucene trunk, r1241355.

Thanks,

Alan Woodward
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to