Ok thanks, maybe i understood. I will try to store the field length in a Map in my custom Similarity and then pick them with a getLength() method and then divide it by the number of docs so i can have the average length of a field.
thank you Raffaele Branda -- View this message in context: http://lucene.472066.n3.nabble.com/use-of-FieldInvertState-class-tp3182214p3184991.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org