Hello all,

I am using solr 4.10.1 and I have configured my pf2 pf3 like this

<str name="pf2">catchall~0^0.2 name~0^0.21 synonyms^0.2</str>
<str name="pf3">catchall~0^0.2 name~0^0.21 synonyms^0.2</str>

my search field (qf) is my catchall field

I'v been trying to change slop in pf2, pf3 for catchall and synonyms (going
from 0, or default value for synonyms, to 1)

pf2=catchall~1^0.2 name~0^0.21 synonyms~1^0.2
pf3=catchall~1^0.2 name~0^0.21 synonyms~1^0.2

but some results are not ordered the same way anymore even if I get the
same MATCH values in debugQuery output

For instance, for a doc matching bastill in catchall field (and nothing to
do with pf2, pf3!)

with first pf2, pf3

0.5163083 = (MATCH) weight(catchall:bastill in 105256) [NoTFIDFSimilarity],
result of:
       * 0.5163083 = score(doc=105256,freq=2.0 = termFreq=2.0*
), product of:
         * 0.5163083 = queryWeight,* product of:
            1.0 = idf(docFreq=134, maxDocs=12258543)
            0.5163083 = queryNorm
          1.0 = fieldWeight in 105256, product of:
            1.0 = tf(freq=2.0), with freq of:
              2.0 = termFreq=2.0
            1.0 = idf(docFreq=134, maxDocs=12258543)
            1.0 = fieldNorm(doc=105256)
      0.5163083 = (MATCH) weight(catchall:paris in 105256)
[NoTFIDFSimilarity], result of:
        0.5163083 = score(doc=105256,freq=6.0 = termFreq=6.0

and when I change pf2 pf3 (the only change, same query, same docs)

0.47504464 = (MATCH) weight(catchall:paris in 105256) [NoTFIDFSimilarity],
result of:
       * 0.47504464 = score(doc=105256,freq=6.0 = termFreq=6.0*
), product of:
         * 0.47504464 = queryWeight*, product of:
            1.0 = idf(docFreq=10958, maxDocs=12258543)
            0.47504464 = queryNorm
          1.0 = fieldWeight in 105256, product of:
            1.0 = tf(freq=6.0), with freq of:
              6.0 = termFreq=6.0
            1.0 = idf(docFreq=10958, maxDocs=12258543)
            1.0 = fieldNorm(doc=105256)

so in the end, with same MATCH results, in first case I get two documents
with same score, and in second case, one document has a higher score.

This seem very very strange. Does anyone have a clue what's going on?

Thanks
Elisabeth

Reply via email to