RE: Explanations and overridden similarity

2004-12-17 Thread Dan Climan
I can edit the open source for my particular use. Thanks for the help, Dan -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 11:50 AM To: Lucene Developers List Subject: Re: Explanations and overridden similarity You cannot override s

Re: Explanations and overridden similarity

2004-12-17 Thread Erik Hatcher
Lucene Developers List Subject: Re: Explanations and overridden similarity Dan Climan wrote: Shouldn't the call to Similarity.decodeNorm be replaced with a call to Similarity.getDefault().decodeNorm decodeNorm is a static method. Doug -

RE: Explanations and overridden similarity

2004-12-17 Thread Dan Climan
etSimilarity? Dan -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 9:28 PM To: Lucene Developers List Subject: Re: Explanations and overridden similarity Dan Climan wrote: > Shouldn't the call to Similarity.decodeNorm

Re: Explanations and overridden similarity

2004-12-16 Thread Doug Cutting
Dan Climan wrote: Shouldn't the call to Similarity.decodeNorm be replaced with a call to Similarity.getDefault().decodeNorm decodeNorm is a static method. Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Explanations and overridden similarity

2004-12-16 Thread Dan Climan
I've been testing a new similarity that overrides encodeNorm and decodeNorm using Lucene 1.4.2. While testing I've been running queries with explanations. I notice that in the TermQuery.TermWeight class in the explain method is the following: Explanation fieldNormExpl = new Explanation();