问题标签 [dismax]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
23 浏览

solr - 为什么 dismax q.alt 不返回任何结果

我是 solr 的新手。在完成教程练习 1(https://solr.apache.org/guide/8_9/solr-tutorial.html)之后,我可以在我的 loacl 机器上进行一些 solr 查询。

如果我想在没有条件的情况下得到结果,我会做这样的查询

http://127.0.0.1:8983/solr/#/techproducts/query?q=*:*&q.op=OR

这工作得很好。

但是当我切换到“dismax”并尝试获得类似的结果时,我确实需要使用“q.alt”。查询就像

http://127.0.0.1:8983/solr/#/techproducts/query?q.op=OR&defType=dismax&q.alt=*:*

但是,这个查询没有结果,这很奇怪。即使我指定了行,它仍然无法正常工作。

http://127.0.0.1:8983/solr/#/techproducts/query?q.op=OR&defType=dismax&q.alt=*:*&row=0

以前有人遇到过同样的问题吗?

0 投票
1 回答
90 浏览

solr - 如何在 solr 中使用 eDisMax Query Parser 的 pf(Phrase Fields) 和 ps(Phrase Slop)?

什么是 eDisMax 中的短语字段、短语 Slop 和查询短语 Slop。我浏览了许多网站,但不了解这些实施。如果我有以下数据,我想知道如何使用它在 solr 中传递查询以及输出如何相互不同。