You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Paolo Castagna (JIRA)" <ji...@apache.org> on 2012/05/03 13:38:50 UTC
[jira] [Commented] (JENA-242) LARQ scores not normalized
[ https://issues.apache.org/jira/browse/JENA-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267371#comment-13267371 ]
Paolo Castagna commented on JENA-242:
-------------------------------------
Thanks Tao.
All searches call the IndexLARQ.search(...) [1]
There is a getMaxScore method in Lucene's TopDocs [2] which we can use to normalize scores for the same query.
[1] http://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk/src/main/java/org/apache/jena/larq/IndexLARQ.java
[2] http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/TopDocs.html#getMaxScore%28%29
> LARQ scores not normalized
> --------------------------
>
> Key: JENA-242
> URL: https://issues.apache.org/jira/browse/JENA-242
> Project: Apache Jena
> Issue Type: Bug
> Components: LARQ
> Affects Versions: LARQ 1.0.0
> Environment: Fuseki
> Reporter: laotao
>
> In previous versions the LARQ score seemed to be normalized to range [0, 1]. In LARQ 1.0.0 some scores can be higher than 1.
> Normalized scores are needed to filter sparql results (so that only items above certain quality is shown).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira