开发者

Why is SOLR's QueryElevation component not working?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜