lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarala, Magesh" <MTar...@bh.com>
Subject Different scores for the same search
Date Thu, 23 Jul 2015 18:22:15 GMT
I'm executing a very simple search in a 3 node cluster - 3 shards with 1 replica each. Solr
version 4.10.2:
http://server1.domain.com:8983/solr/serviceorder_shard1_replica2/select?q=description%3Ajackshaft&fl=service_order&wt=json&indent=true&debugQuery=true

I'm getting different scores when I run them several times. This brings the results in different
order. How can I ensure the same search returns the results with consistent rank?


First time I run the query:

"8000084420_HDR":"\n6.357613 = (MATCH) weight(description:jackshaft in 3339) [DefaultSimilarity],
result of:\n  6.357613 = fieldWeight in 3339, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    10.172181 = idf(docFreq=4, maxDocs=48128)\n    0.625 =
fieldNorm(doc=3339)\n",
      "8000082606_HDR":"\n5.53756 = (MATCH) weight(description:jackshaft in 5663) [DefaultSimilarity],
result of:\n  5.53756 = fieldWeight in 5663, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.625 =
fieldNorm(doc=5663)\n",
      "8000081351_HDR":"\n5.53756 = (MATCH) weight(description:jackshaft in 10434) [DefaultSimilarity],
result of:\n  5.53756 = fieldWeight in 10434, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.625 =
fieldNorm(doc=10434)\n",
      "8000080845_HDR":"\n5.0860906 = (MATCH) weight(description:jackshaft in 19728) [DefaultSimilarity],
result of:\n  5.0860906 = fieldWeight in 19728, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    10.172181 = idf(docFreq=4, maxDocs=48128)\n    0.5
= fieldNorm(doc=19728)\n",
      "8000077923_HDR":"\n5.0860906 = (MATCH) weight(description:jackshaft in 1569) [DefaultSimilarity],
result of:\n  5.0860906 = fieldWeight in 1569, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    10.172181 = idf(docFreq=4, maxDocs=48128)\n    0.5 = fieldNorm(doc=1569)\n",
      "8000080918_HDR":"\n5.0213747 = (MATCH) weight(description:jackshaft in 13013) [DefaultSimilarity],
result of:\n  5.0213747 = fieldWeight in 13013, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    10.042749 = idf(docFreq=3, maxDocs=33828)\n    0.5
= fieldNorm(doc=13013)\n",
      "8000080146_HDR":"\n4.4503293 = (MATCH) weight(description:jackshaft in 24626) [DefaultSimilarity],
result of:\n  4.4503293 = fieldWeight in 24626, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    10.172181 = idf(docFreq=4, maxDocs=48128)\n    0.4375
= fieldNorm(doc=24626)\n",
      "8000074085_HDR":"\n4.430048 = (MATCH) weight(description:jackshaft in 2470) [DefaultSimilarity],
result of:\n  4.430048 = fieldWeight in 2470, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.5 = fieldNorm(doc=2470)\n",
      "8000077118_HDR":"\n4.430048 = (MATCH) weight(description:jackshaft in 12530) [DefaultSimilarity],
result of:\n  4.430048 = fieldWeight in 12530, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.5 = fieldNorm(doc=12530)\n",
      "8000083634_HDR":"\n4.393703 = (MATCH) weight(description:jackshaft in 24564) [DefaultSimilarity],
result of:\n  4.393703 = fieldWeight in 24564, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    10.042749 = idf(docFreq=3, maxDocs=33828)\n    0.4375 =
fieldNorm(doc=24564)\n",
      "8000077317_HDR":"\n3.876292 = (MATCH) weight(description:jackshaft in 12902) [DefaultSimilarity],
result of:\n  3.876292 = fieldWeight in 12902, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.4375 =
fieldNorm(doc=12902)\n",
      "8000086520_HDR":"\n3.876292 = (MATCH) weight(description:jackshaft in 2053) [DefaultSimilarity],
result of:\n  3.876292 = fieldWeight in 2053, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.4375 =
fieldNorm(doc=2053)\n",
      "8000079606_HDR":"\n3.766031 = (MATCH) weight(description:jackshaft in 979) [DefaultSimilarity],
result of:\n  3.766031 = fieldWeight in 979, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    10.042749 = idf(docFreq=3, maxDocs=33828)\n    0.375 =
fieldNorm(doc=979)\n",
      "8000075853_HDR":"\n3.322536 = (MATCH) weight(description:jackshaft in 6890) [DefaultSimilarity],
result of:\n  3.322536 = fieldWeight in 6890, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.375 =
fieldNorm(doc=6890)\n",
      "8000080537_HDR":"\n3.322536 = (MATCH) weight(description:jackshaft in 10814) [DefaultSimilarity],
result of:\n  3.322536 = fieldWeight in 10814, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.375 =
fieldNorm(doc=10814)\n",
      "8000002721_HDR":"\n3.322536 = (MATCH) weight(description:jackshaft in 11539) [DefaultSimilarity],
result of:\n  3.322536 = fieldWeight in 11539, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.375 =
fieldNorm(doc=11539)\n",
      "8000084278_HDR":"\n3.322536 = (MATCH) weight(description:jackshaft in 13947) [DefaultSimilarity],
result of:\n  3.322536 = fieldWeight in 13947, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.375 =
fieldNorm(doc=13947)\n",
      "8000085893_HDR":"\n3.322536 = (MATCH) weight(description:jackshaft in 701) [DefaultSimilarity],
result of:\n  3.322536 = fieldWeight in 701, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.375 =
fieldNorm(doc=701)\n",
      "8000078628_HDR":"\n3.322536 = (MATCH) weight(description:jackshaft in 686) [DefaultSimilarity],
result of:\n  3.322536 = fieldWeight in 686, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.860096 = idf(docFreq=12, maxDocs=33693)\n    0.375 =
fieldNorm(doc=686)\n"}}}



Next time I run the same query:



      "8000084420_HDR":"\n6.173014 = (MATCH) weight(description:jackshaft in 25367) [DefaultSimilarity],
result of:\n  6.173014 = score(doc=25367,freq=1.0 = termFreq=1.0\n), product of:\n    0.99999994
= queryWeight, product of:\n      9.876823 = idf(docFreq=4, maxDocs=35820)\n      0.101247124
= queryNorm\n    6.1730146 = fieldWeight in 25367, product of:\n      1.0 = tf(freq=1.0),
with freq of:\n        1.0 = termFreq=1.0\n      9.876823 = idf(docFreq=4, maxDocs=35820)\n
     0.625 = fieldNorm(doc=25367)\n",

      "8000081351_HDR":"\n5.5220656 = (MATCH) weight(description:jackshaft in 9806) [DefaultSimilarity],
result of:\n  5.5220656 = fieldWeight in 9806, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.625 =
fieldNorm(doc=9806)\n",

      "8000082606_HDR":"\n5.5220656 = (MATCH) weight(description:jackshaft in 18184) [DefaultSimilarity],
result of:\n  5.5220656 = fieldWeight in 18184, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.625
= fieldNorm(doc=18184)\n",

      "8000080918_HDR":"\n5.0213747 = (MATCH) weight(description:jackshaft in 13013) [DefaultSimilarity],
result of:\n  5.0213747 = fieldWeight in 13013, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    10.042749 = idf(docFreq=3, maxDocs=33828)\n    0.5
= fieldNorm(doc=13013)\n",

      "8000080845_HDR":"\n4.938411 = (MATCH) weight(description:jackshaft in 10803) [DefaultSimilarity],
result of:\n  4.938411 = score(doc=10803,freq=1.0 = termFreq=1.0\n), product of:\n    0.99999994
= queryWeight, product of:\n      9.876823 = idf(docFreq=4, maxDocs=35820)\n      0.101247124
= queryNorm\n    4.9384117 = fieldWeight in 10803, product of:\n      1.0 = tf(freq=1.0),
with freq of:\n        1.0 = termFreq=1.0\n      9.876823 = idf(docFreq=4, maxDocs=35820)\n
     0.5 = fieldNorm(doc=10803)\n",

      "8000077923_HDR":"\n4.938411 = (MATCH) weight(description:jackshaft in 1629) [DefaultSimilarity],
result of:\n  4.938411 = score(doc=1629,freq=1.0 = termFreq=1.0\n), product of:\n    0.99999994
= queryWeight, product of:\n      9.876823 = idf(docFreq=4, maxDocs=35820)\n      0.101247124
= queryNorm\n    4.9384117 = fieldWeight in 1629, product of:\n      1.0 = tf(freq=1.0), with
freq of:\n        1.0 = termFreq=1.0\n      9.876823 = idf(docFreq=4, maxDocs=35820)\n   
  0.5 = fieldNorm(doc=1629)\n",

      "8000074085_HDR":"\n4.4176526 = (MATCH) weight(description:jackshaft in 16291) [DefaultSimilarity],
result of:\n  4.4176526 = fieldWeight in 16291, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.5
= fieldNorm(doc=16291)\n",

      "8000077118_HDR":"\n4.4176526 = (MATCH) weight(description:jackshaft in 22106) [DefaultSimilarity],
result of:\n  4.4176526 = fieldWeight in 22106, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.5
= fieldNorm(doc=22106)\n",

      "8000083634_HDR":"\n4.393703 = (MATCH) weight(description:jackshaft in 24564) [DefaultSimilarity],
result of:\n  4.393703 = fieldWeight in 24564, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    10.042749 = idf(docFreq=3, maxDocs=33828)\n    0.4375 =
fieldNorm(doc=24564)\n",

      "8000080146_HDR":"\n4.32111 = (MATCH) weight(description:jackshaft in 7010) [DefaultSimilarity],
result of:\n  4.32111 = score(doc=7010,freq=1.0 = termFreq=1.0\n), product of:\n    0.99999994
= queryWeight, product of:\n      9.876823 = idf(docFreq=4, maxDocs=35820)\n      0.101247124
= queryNorm\n    4.3211102 = fieldWeight in 7010, product of:\n      1.0 = tf(freq=1.0), with
freq of:\n        1.0 = termFreq=1.0\n      9.876823 = idf(docFreq=4, maxDocs=35820)\n   
  0.4375 = fieldNorm(doc=7010)\n",

      "8000077317_HDR":"\n3.865446 = (MATCH) weight(description:jackshaft in 21143) [DefaultSimilarity],
result of:\n  3.865446 = fieldWeight in 21143, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.4375 =
fieldNorm(doc=21143)\n",

      "8000086520_HDR":"\n3.865446 = (MATCH) weight(description:jackshaft in 2674) [DefaultSimilarity],
result of:\n  3.865446 = fieldWeight in 2674, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.4375 =
fieldNorm(doc=2674)\n",

      "8000079606_HDR":"\n3.766031 = (MATCH) weight(description:jackshaft in 979) [DefaultSimilarity],
result of:\n  3.766031 = fieldWeight in 979, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    10.042749 = idf(docFreq=3, maxDocs=33828)\n    0.375 =
fieldNorm(doc=979)\n",

      "8000080537_HDR":"\n3.3132396 = (MATCH) weight(description:jackshaft in 7821) [DefaultSimilarity],
result of:\n  3.3132396 = fieldWeight in 7821, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.375 =
fieldNorm(doc=7821)\n",

      "8000075853_HDR":"\n3.3132396 = (MATCH) weight(description:jackshaft in 11654) [DefaultSimilarity],
result of:\n  3.3132396 = fieldWeight in 11654, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.375
= fieldNorm(doc=11654)\n",

      "8000084278_HDR":"\n3.3132396 = (MATCH) weight(description:jackshaft in 21496) [DefaultSimilarity],
result of:\n  3.3132396 = fieldWeight in 21496, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.375
= fieldNorm(doc=21496)\n",

      "8000002721_HDR":"\n3.3132396 = (MATCH) weight(description:jackshaft in 23662) [DefaultSimilarity],
result of:\n  3.3132396 = fieldWeight in 23662, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.375
= fieldNorm(doc=23662)\n",

      "8000085893_HDR":"\n3.3132396 = (MATCH) weight(description:jackshaft in 26120) [DefaultSimilarity],
result of:\n  3.3132396 = fieldWeight in 26120, product of:\n    1.0 = tf(freq=1.0), with
freq of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.375
= fieldNorm(doc=26120)\n",

      "8000078628_HDR":"\n3.3132396 = (MATCH) weight(description:jackshaft in 1141) [DefaultSimilarity],
result of:\n  3.3132396 = fieldWeight in 1141, product of:\n    1.0 = tf(freq=1.0), with freq
of:\n      1.0 = termFreq=1.0\n    8.835305 = idf(docFreq=12, maxDocs=32868)\n    0.375 =
fieldNorm(doc=1141)\n"}}}


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