Thanks, Ian, I checked the documentation and it turned out that the lengt normalization made the norm so small. I started using SweetSpotSimilarity for that field and now the scores are ok.
Ákos On Mon, Apr 23, 2012 at 1:33 PM, Ian Lea <ian....@gmail.com> wrote: > Look at norm(t,d) in the javadocs for Similarity. Note use of the > word "encapsulates". Also note the stuff on loss of precision. > > > -- > Ian. > > > On Mon, Apr 23, 2012 at 12:11 PM, Akos Tajti <akos.ta...@gmail.com> wrote: > > Dear All, > > > > when indexing an object I create a document that contains a field called > > title. I set the boost of that field to 60. After the indexing was > complete > > I checked the document using luke. The norm field for it contained 40. > > Shouldn't this column (the field norm) contain the boost that was set at > > indexing time? > > > > Thanks in advance, > > Ákos Tajti > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >