Hi,
   I'm trying to get some information how boost is used in the ranking
calculation via the debugQuery parameter for the following query:
(bodytext:iphone OR bodytext:firmware)^2.0 OR dateCreatedYear:2009^5.0

For one of the matching documents I can see:

4.7144237 = (MATCH) sum of:
  2.2903786 = (MATCH) sum of:
    0.7662499 = (MATCH) weight(bodytext:iphon in 8339166), product of:
      0.427938 = queryWeight(bodytext:iphon), product of:
        5.729801 = idf(docFreq=76646, numDocs=8682037)
        0.07468636 = queryNorm
      1.7905629 = (MATCH) fieldWeight(bodytext:iphon in 8339166), product of:
        1.0 = tf(termFreq(bodytext:iphon)=1)
        5.729801 = idf(docFreq=76646, numDocs=8682037)
        0.3125 = fieldNorm(field=bodytext, doc=8339166)
    1.5241286 = (MATCH) weight(bodytext:firmwar in 8339166), product of:
      0.60354054 = queryWeight(bodytext:firmwar), product of:
        8.081 = idf(docFreq=7300, numDocs=8682037)
        0.07468636 = queryNorm
      2.5253127 = (MATCH) fieldWeight(bodytext:firmwar in 8339166), product of:
        1.0 = tf(termFreq(bodytext:firmwar)=1)
        8.081 = idf(docFreq=7300, numDocs=8682037)
        0.3125 = fieldNorm(field=bodytext, doc=8339166)
  2.424045 = (MATCH) weight(dateCreatedYear:2009^5.0 in 8339166), product of:
    0.6727613 = queryWeight(dateCreatedYear:2009^5.0), product of:
      5.0 = boost
      3.603128 = idf(docFreq=642831, numDocs=8682037)
      0.03734318 = queryNorm
    3.603128 = (MATCH) fieldWeight(dateCreatedYear:2009 in 8339166), product of:
      1.0 = tf(termFreq(dateCreatedYear:2009)=1)
      3.603128 = idf(docFreq=642831, numDocs=8682037)
      1.0 = fieldNorm(field=dateCreatedYear, doc=8339166)

which shows that the 5.0 boost in  dateCreatedYear:2009^5.0 is being
applied however, the 2.0 boost is missing in "(bodytext:iphone OR
bodytext:firmware)^2.0"  How is the 2.0 boost being applied to the
score?

Thanks,
Sammy

Reply via email to