[opencms-dev] CmsSearchResult (or Lucene) in OpenCms 7.5.1 delivers wrong scores ?!

] Code Create [ Bernd Wolfsegger bw at code-create.com
Sat Oct 17 15:20:57 CEST 2009


Hi Alkacon,

in OpenCms 7.5 and prior versions the max Value shown for a score
(CmsSearchResult.getScore()) was 100 (%).
Running the same search with OpenCms 7.5.1 on my site now delivers a value of
475.

Something must have changed about the use of the score or the calculation of the
score has a bug now.

I also discovered another strange behavior:
I searched for the term "OpenCms" on my site.
I configured the search to have 5 results per page and show 6 pagelinks.
>From the first to the third resultpage search.getSearchResultCount() is "32"
form the fourth to the seventh page it is "31".


Kind regards, Bernd






More information about the opencms-dev mailing list