[ 
https://issues.apache.org/jira/browse/JSPWIKI-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Janne Jalkanen resolved JSPWIKI-127.
------------------------------------

    Resolution: Invalid

The score is not the number of hits on the page, but an abstract figure.  You 
must not rely on it being something specific.

The page "Alberto" has "Alberto" in the title, therefore it matches.  And 
because it's a more likely match, it gets extra five points allocated to the 
score.

> Issue on BasicSearchProvider
> ----------------------------
>
>                 Key: JSPWIKI-127
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-127
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.4.104
>         Environment: Windows 2003 service pack 2, JRE 1.5.0.12,Tomcat 6.0.14, 
> My SQL 5.0.24-community-nt
>            Reporter: Patrizia Panassidi
>            Priority: Trivial
>             Fix For: 2.4.104
>
>
> We are using the BasicSearchProvider instead of the lucene, because we have 
> problemn with the lucene search.
> We set the BasicSearchProvider on JSPwiki properties, we restart the 
> application, and then we test the "new" search typology.
> We hane problem with the score. It seems that the hits are not correctly 
> counted inthe search.
> For example:
> we search the word "Alberto"
> the search result is a list of page with the following score:
> pippo (10 hits)
> pluto (8 hits)
> paperino (6 hits)
> Alberto (5 hits)
> We tried to verify the occurency in the page:
> pippo correctly contains 10 times the word Alberto
> pluto correctly contains 8 times the word Alberto
> paperino correctly contains 6 times the word Alberto
> Alberto doesn't contain the the word Alberto
> We tried with other search and the result in the same.
> Our conclusion is that seem that the basic search add 5 hits to a real hits 
> when the word that we search is in the page name.
> Is this behaviour correct.
> Please, we need an answer.
> Thnks a lot for the support.
> Regards,
> Patrizia

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to