You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Gastone Penzo <ga...@gmail.com> on 2010/12/01 12:15:11 UTC
Re: QueryNorm and FieldNorm
Thanx for the answer.
Is it possible to remove the QueryNorm??
so all the bf boost became an add of the solr score??
omitNorm is about fieldNorm or queryNorm??
thanx
Gastone
2010/11/30 Jayendra Patil <ja...@gmail.com>
> fieldNorm is the combination of length of the field with index and query
> time boosts.
>
> 1. lengthNorm = measure of the importance of a term according to the
> total number of terms in the field
> 1. Implementation: 1/sqrt(numTerms)
> 2. Implication: a term matched in fields with less terms have a
> higher score
> 3. Rationale: a term in a field with less terms is more important
> than one with more
> 2. boost (index) = boost of the field at index-time
> 1. Index time boost specified. The fieldNorm value in the score
> would include the same.
> 3. boost (query) = boost of the field at query-time
>
>
> bf is the query time boost for a field and should affect fieldNorm value.
>
> queryNorm is just a normalization factor so that queries can be compared
> and
> will differ based on query and results
>
> 1. queryNorm is not related to the relevance of the document, but rather
> tries to make scores between different queries comparable. It is
> implemented
> as 1/sqrt(sumOfSquaredWeights)
>
>
> You should not be bothered about queryNorm, as for a query it will have the
> same value for all the results.
>
> Regards,
> Jayendra
>
> On Tue, Nov 30, 2010 at 9:37 AM, Gastone Penzo <gastone.penzo@gmail.com
> >wrote:
>
> > Hello,
> > someone can explain the difference between queryNorm and FieldNorm in
> > debugQuery??
> > why if i push one bf boost up, the queryNorm goes down??
> > i made some modifies..before the situation was different. why??
> > thanx
> >
> > --
> > Gastone Penzo
> >
>
--
Gastone Penzo
Re: QueryNorm and FieldNorm
Posted by Chris Hostetter <ho...@fucit.org>.
: Is it possible to remove the QueryNorm??
: so all the bf boost became an add of the solr score??
queryNorm is just a normalizing value applied equally to every clause - it
won't change the relative ordering of any docs, it just helps to ensure
that your scores don't sky rocket so high that floating point rounding
loses precision.
if you really wnat to remove it, you need to write a custom Similarity
plugin.
: omitNorm is about fieldNorm or queryNorm??
omitNorm is as fieldType option specific to fieldNorm.
: > fieldNorm is the combination of length of the field with index and query
: > time boosts.
that not correct -- fieldNorm is the combination of the lengthNorm with
the index time boosts (which can either be field specific or can come from
a doc boost) -- it's not affected by query time boosts at all.
-Hoss