lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katja Hofmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2091) Add BM25 Scoring to Lucene
Date Fri, 19 Mar 2010 15:23:27 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847399#action_12847399
] 

Katja Hofmann commented on LUCENE-2091:
---------------------------------------

Hi Yuval,

I was trying to apply the patch to both lucene 2.9.2 and 3.0.1. In both cases it failed to
compile. The problem is that it assumes a method decodeNormValue(byte) in Similarity. I wasn't
able to find a version where this method exists. Do you have any suggestions on how to proceed?


The compilation errors were:

    [javac] ...code/java/org/apache/lucene/bm25/BM25TermScorer.java:79: cannot find symbol
    [javac] symbol  : method decodeNormValue(byte)
    [javac] location: class org.apache.lucene.search.Similarity
    [javac] 		float fieldNorm = this.getSimilarity().decodeNormValue(this.norm[this.docID()]);
    [javac] 		                                      ^
    [javac] ...code/java/org/apache/lucene/bm25f/BM25FTermScorer.java:148: cannot find symbol
    [javac] symbol  : method decodeNormValue(byte)
    [javac] location: class org.apache.lucene.search.Similarity
    [javac] 				float fieldNorm = this.getSimilarity().decodeNormValue(norms[i][this.docID()]);
    [javac] 

> Add BM25 Scoring to Lucene
> --------------------------
>
>                 Key: LUCENE-2091
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2091
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>            Reporter: Yuval Feinstein
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2091.patch, persianlucene.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> http://nlp.uned.es/~jperezi/Lucene-BM25/ describes an implementation of Okapi-BM25 scoring
in the Lucene framework,
> as an alternative to the standard Lucene scoring (which is a version of mixed boolean/TFIDF).
> I have refactored this a bit, added unit tests and improved the runtime somewhat.
> I would like to contribute the code to Lucene under contrib. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message