lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akos Tajti <akos.ta...@gmail.com>
Subject Re: stored field norm
Date Mon, 23 Apr 2012 15:35:56 GMT
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.lea@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.tajti@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message