开发者

Why is SOLR's QueryElevation component not working?

开发者 https://www.devze.com 2023-02-24 00:59 出处:网络
I have configured the QueryElevation component as here: http://wiki.apache.org/solr/QueryElevationComponent

I have configured the QueryElevation component as here:

http://wiki.apache.org/solr/QueryElevationComponent

And I can see that it is doing something...

In the debug (formatted as JSON) output:

 "debug":{
  "queryBoosting":{
    "开发者_高级运维q":"bar",
    "match":["id:test"]},

However, it is having no effects on the query results whatsoever

Can anyone tell me where I'm going wrong?

Thanks!


Ok, my bad.

I had set the wrong field up as UniqueKey:

http://wiki.apache.org/solr/SchemaXml#The_Unique_Key_Field

0

精彩评论

暂无评论...
验证码 换一张
取 消