lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3391) Make EasySimilarityProvider a full-fledged class
Date Mon, 22 Aug 2011 14:02:29 GMT


Robert Muir commented on LUCENE-3391:

a few comments:
* I think we should avoid the generics here? also I think the private sim should be final.
* If the idea is to use for non-vector space sims, I think we should return 1 for coord()
by default? in my tests it sometimes totally hoses the ranking for e.g. probabilistic models.
* We can also rethink the naming in that regard? its just a Similarity provider that always
returns the same similarity?

> Make EasySimilarityProvider a full-fledged class 
> -------------------------------------------------
>                 Key: LUCENE-3391
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Sub-task
>          Components: core/query/scoring, general/javadocs
>            Reporter: David Mark Nemeskey
>            Assignee: David Mark Nemeskey
>              Labels: gsoc, gsoc2011, rank, similarity
>             Fix For: flexscoring branch
>         Attachments: LUCENE-3391.patch, LUCENE-3391.patch, LUCENE-3391.patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> The {{EasySimilarityProvider}} in {{TestEasySimilarity}} would be a good candidate for
a full-fledged class. Both {{DefaultSimilarity}} and {{BM25Similarity}} have their own providers,
which are effectively the same,so I don't see why we couldn't add one generic provider for

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message