开发者

Solr - Score is always coming 0

开发者 https://www.devze.com 2023-02-25 13:39 出处:网络
I am new to Solr. I have done indexing of web pages and getting the search result. But all results have

I am new to Solr. I have done indexing of web pages and getting the search result. But all results have

"score" = 0 "boost" = 0

As a result my search results are not sorted properly. At present my results are lexicograp开发者_开发技巧hically sorted based on urls of web pages. I am specifying fl=*,score in my query.

I have specified following parameters for indexing "content" field of web pages

field name="content" type="text" stored="true" indexed="true" termVectors="true" termPositions="true" termOffsets="true" omitNorms = "false

Please help...


Maybe somewhere the float value converted to integer?

<result name="response" numFound="16" start="0" maxScore="0.008373434">
<doc>
   <float name="score">0.008373434</float>
   <str name="id">301</str>
   <str name="ename">exampleName</str>
</doc>
    ...
0

精彩评论

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