On Tue, May 3, 2011 at 9:57 AM, Paul Taylor <[email protected]> wrote: > How can I convert this Similariity method to use 3.1 (currently using > 3.0.3), I understand I have to replace lengthNorm() wuth computerNorm() , > but fieldlName is not a provided parameter in computerNorm() and > FieldInvertState does not contain the fieldname either.
Hi, I think you made a mistake, it does take fieldname: http://lucene.apache.org/java/3_1_0/api/core/org/apache/lucene/search/Similarity.html#computeNorm(java.lang.String, org.apache.lucene.index.FieldInvertState) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
