我无法找到有关使用索引时文档提升的任何可靠文档,除了在您要查询的字段类型上如何设置提升和omitNorms需要设置为false。我真的不知道这里发生了什么。 (再次 - SIMPLE查询,没有过滤器或其他任何东西)
假设我做了一个简单的搜索标题:scissor甚至只是"剪刀",我得到了5个结果。如果除了第一个结果之外,我对这些结果中的任何一个设置了1.1-1000之间的任何提升,我希望这个结果在下一次搜索中得分更高。
然而,发生在我身上的是,这些提升的结果以低于我提升它们之前的分数回归,如果我试图提升或负面提升(0.1-0.9)最好的结果,它永远不会改变立场)。
例如下面,我添加了" 5"到第五个结果(这是预升级):
"explain": {
"File #1": "\n6.312951 = weight(title:scissor in 495641) [ClassicSimilarity], result of:\n 6.312951 = fieldWeight in 495641, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.5 = fieldNorm(doc=495641)\n",
"File #2": "\n5.5238323 = weight(title:scissor in 984389) [ClassicSimilarity], result of:\n 5.5238323 = fieldWeight in 984389, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.4375 = fieldNorm(doc=984389)\n",
"File #3": "\n5.5238323 = weight(title:scissor in 1098172) [ClassicSimilarity], result of:\n 5.5238323 = fieldWeight in 1098172, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.4375 = fieldNorm(doc=1098172)\n",
"File #4": "\n4.7347136 = weight(title:scissor in 901186) [ClassicSimilarity], result of:\n 4.7347136 = fieldWeight in 901186, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.375 = fieldNorm(doc=901186)\n",
"File #5": "\n4.7347136 = weight(title:scissor in 1037808) [ClassicSimilarity], result of:\n 4.7347136 = fieldWeight in 1037808, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.375 = fieldNorm(doc=1037808)\n",
"File #6": "\n4.7347136 = weight(title:scissor in 1044468) [ClassicSimilarity], result of:\n 4.7347136 = fieldWeight in 1044468, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.375 = fieldNorm(doc=1044468)\n",
"File #7": "\n4.4639306 = weight(title:scissor in 972468) [ClassicSimilarity], result of:\n 4.4639306 = fieldWeight in 972468, product of:\n 1.4142135 = tf(freq=2.0), with freq of:\n 2.0 = termFreq=2.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.25 = fieldNorm(doc=972468)\n",
"File #8": "\n3.9455943 = weight(title:scissor in 896318) [ClassicSimilarity], result of:\n 3.9455943 = fieldWeight in 896318, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.3125 = fieldNorm(doc=896318)\n",
"File #9": "\n3.9455943 = weight(title:scissor in 1037733) [ClassicSimilarity], result of:\n 3.9455943 = fieldWeight in 1037733, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.3125 = fieldNorm(doc=1037733)\n",
"File #10": "\n3.1564755 = weight(title:scissor in 1045578) [ClassicSimilarity], result of:\n 3.1564755 = fieldWeight in 1045578, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.25 = fieldNorm(doc=1045578)\n"
},
现在第五个结果已成为第六个结果:
"explain": {
"File #1": "\n6.269446 = weight(title:scissor in 495641) [ClassicSimilarity], result of:\n 6.269446 = fieldWeight in 495641, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.5 = fieldNorm(doc=495641)\n",
"File #2": "\n5.485765 = weight(title:scissor in 984389) [ClassicSimilarity], result of:\n 5.485765 = fieldWeight in 984389, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.4375 = fieldNorm(doc=984389)\n",
"File #3": "\n5.485765 = weight(title:scissor in 1098172) [ClassicSimilarity], result of:\n 5.485765 = fieldWeight in 1098172, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.4375 = fieldNorm(doc=1098172)\n",
"File #4": "\n4.7020845 = weight(title:scissor in 901186) [ClassicSimilarity], result of:\n 4.7020845 = fieldWeight in 901186, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.375 = fieldNorm(doc=901186)\n",
"File #6": "\n4.7020845 = weight(title:scissor in 1044468) [ClassicSimilarity], result of:\n 4.7020845 = fieldWeight in 1044468, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.375 = fieldNorm(doc=1044468)\n",
"File #5": "\n4.7020845 = weight(title:scissor in 0) [ClassicSimilarity], result of:\n 4.7020845 = fieldWeight in 0, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.375 = fieldNorm(doc=0)\n",
"File #7": "\n4.4331675 = weight(title:scissor in 972468) [ClassicSimilarity], result of:\n 4.4331675 = fieldWeight in 972468, product of:\n 1.4142135 = tf(freq=2.0), with freq of:\n 2.0 = termFreq=2.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.25 = fieldNorm(doc=972468)\n",
"File #8": "\n3.9184036 = weight(title:scissor in 896318) [ClassicSimilarity], result of:\n 3.9184036 = fieldWeight in 896318, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.3125 = fieldNorm(doc=896318)\n",
"File #9": "\n3.9184036 = weight(title:scissor in 1037733) [ClassicSimilarity], result of:\n 3.9184036 = fieldWeight in 1037733, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.3125 = fieldNorm(doc=1037733)\n",
"File #10": "\n3.134723 = weight(title:scissor in 1045578) [ClassicSimilarity], result of:\n 3.134723 = fieldWeight in 1045578, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.25 = fieldNorm(doc=1045578)\n"
},
具体而言,有问题的结果的前/后:
"File #5": "\n4.7347136 = weight(title:scissor in 1037808) [ClassicSimilarity], result of:\n 4.7347136 = fieldWeight in 1037808, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.625902 = idf(docFreq=10, maxDocs=1231567)\n 0.375 = fieldNorm(doc=1037808)\n",
"File #5": "\n4.7020845 = weight(title:scissor in 0) [ClassicSimilarity], result of:\n 4.7020845 = fieldWeight in 0, product of:\n 1.0 = tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n 12.538892 = idf(docFreq=11, maxDocs=1231568)\n 0.375 = fieldNorm(doc=0)\n",
任何协助向我解释这里发生的事情将不胜感激。我不知道为什么会这样。