[jira] Closed: (LUCENE-954) Toggle score normalization in Hits

2008-08-05 Thread Michael Busch (JIRA)
, New]) Hits is deprecated. > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.org/jira/browse/LUCENE-954 > Project: Lucene - Java > Issue Type: Improve

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-08-05 Thread Mark Miller (JIRA)
lved. > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.org/jira/browse/LUCENE-954 > Project: Lucene - Java > Issue Type: Improvement > Com

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-05-27 Thread Otis Gospodnetic (JIRA)
need to work on Hits. I'll resolve this as Won't Fix in a few days, unless somebody has some more thoughts on this. > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apac

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-05-19 Thread Michael Busch (JIRA)
e to deprecate the Hits class, and attaches a patch that does so and replaces examples of it's usage in the demo and tutorial, i'll certainly vote for it. {quote} Done with LUCENE-1290. I'm waiting for your vote, Hoss ;-) > Toggle score

[jira] Updated: (LUCENE-954) Toggle score normalization in Hits

2008-05-16 Thread Otis Gospodnetic (JIRA)
: Otis Gospodnetic Unit test passes. Will commit next week. > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.org/jira/browse/LUCENE-954 > Project: Lucene - Java >

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-03-17 Thread JIRA
ease file a new issue if you want to see Hits (and consequently also Hit/HitIterator) being deprecated. I do not see any reason for this, though. This patch is meant for helping Lucene users who currently use the Hits class and particularly have problems with the built-in score normalization, and

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-03-16 Thread Hoss Man (JIRA)
age in the demo and tutorial, i'll certainly vote for it -- but until then, if people want to try and improve Hits, there's little reason not to do so. > Toggle score normalization in Hits > -- > > Key: LUCENE-954 >

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-03-16 Thread Michael Busch (JIRA)
ecate the Hits search(Query) method, to change the tutorials to recommend TopDocCollector instead, and to stop trying to improve Hits. {quote} +1 > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: h

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-03-16 Thread Nadav Har'El (JIRA)
cing yet another suggest improvements to the Hits interface). So I say - it's time to deprecate the Hits search(Query) method, to change the tutorials to recommend TopDocCollector instead, and to stop trying to improve Hits. > Toggle score normalization in Hits > ---

[jira] Updated: (LUCENE-954) Toggle score normalization in Hits

2008-02-25 Thread JIRA
: [Patch Available, New]) Affects Version/s: 2.3 2.3.1 changed affected versions > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.org/jira/br

[jira] Updated: (LUCENE-954) Toggle score normalization in Hits

2008-02-25 Thread JIRA
]) Affects Version/s: 2.4 > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.org/jira/browse/LUCENE-954 > Project: Lucene - Java > Issue Type: Improvement

[jira] Updated: (LUCENE-954) Toggle score normalization in Hits

2008-02-24 Thread JIRA
with 2.3), and without tabs. The patch file also includes a new testcase which demonstrates the new feature. > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.org/jira/br

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-02-22 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571553#action_12571553 ] Doug Cutting commented on LUCENE-954: - Disabling score normalization in Hits s

Re: [jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-02-22 Thread Grant Ingersoll
On Feb 22, 2008, at 7:10 AM, Christian Kohlschütter (JIRA) wrote: [ https://issues.apache.org/jira/browse/LUCENE-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571367 #action_12571367 ] Christian Kohlschütter commented on LUCENE-954:

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-02-22 Thread JIRA
ed by score in descending order. With the current implementation of Lucene Hits, these scores are not comparable across instances. With the patch, they are (at least when score normalization is turned off). If you need more information about the Federated Search system, we can indeed move the dis

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-02-22 Thread Grant Ingersoll (JIRA)
issue, so I'd be happy to discuss more there and hear other thoughts. It has been a while since I have read anything on it. That also isn't to say that your patch isn't worthwhile, just wondering whether the change is actually meaningful for your use case. > To

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-02-22 Thread JIRA
Hits currently tries to "hide" this by normalizing the scores to a maximum of 1, simply by dividing the "raw" scores by the maximum score returned. This is why the scores from Hits are currently not comparable to each other. The suggested patch resolves this problem. > To

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-02-17 Thread Yonik Seeley (JIRA)
the queryWeight part of the score (the part the same for all documents), but not to the fieldWeight. idf and norms can both be > 1. > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.

[jira] Commented: (LUCENE-954) Toggle score normalization in Hits

2008-02-17 Thread Otis Gospodnetic (JIRA)
ding this, though I don't understand why the top-score was greater than 1 (original description above mentions this) in the first place, since scores in Hits are normalized and thus should always be less than 1. > Toggle score norm

[jira] Updated: (LUCENE-954) Toggle score normalization in Hits

2007-09-28 Thread Grant Ingersoll (JIRA)
: (was: 2.2) change the version > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.org/jira/browse/LUCENE-954 > Project: Lucene - Java > Is

[jira] Updated: (LUCENE-954) Toggle score normalization in Hits

2007-07-09 Thread JIRA
score normalization. > Toggle score normalization in Hits > -- > > Key: LUCENE-954 > URL: https://issues.apache.org/jira/browse/LUCENE-954 > Project: Lucene - Java > Issue Type: Improvement

[jira] Created: (LUCENE-954) Toggle score normalization in Hits

2007-07-09 Thread JIRA
Toggle score normalization in Hits -- Key: LUCENE-954 URL: https://issues.apache.org/jira/browse/LUCENE-954 Project: Lucene - Java Issue Type: Improvement Components: Search Affects Versions

score normalization

2005-10-27 Thread Yonik Seeley
A couple of things about score normalization... a) search(weight,filter,ndocs) does not do normalization b) search(weight,filter,ndocs,sort) does do normalization... even if the sort is by score only c) because of (b), the normalized scores given by MultiSearcher.search (weight,filter,ndocs,sort

Re: incorrect score normalization in hits

2005-09-23 Thread Yonik Seeley
Never mind... my mistake. FieldSortedHitQueue takes care of tracking maxscore and normalizes the score in fillFields(). -Yonik On 9/21/05, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > Hits does normalization based on the score of the first document > "scoreDocs[0].score" > This is a problem if sor

incorrect score normalization in hits

2005-09-21 Thread Yonik Seeley
Hits does normalization based on the score of the first document "scoreDocs[0].score" This is a problem if sort is on anything other than score, since the first document won't necessarily be the highest scoring. I propose fixing this by adding a field to TopDocs called "maxScore", and using that i