lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Mark Nemeskey (JIRA)" <>
Subject [jira] [Commented] (SOLR-2754) create Solr similarity factories for new ranking algorithms
Date Fri, 16 Sep 2011 20:40:12 GMT


David Mark Nemeskey commented on SOLR-2754:

bq. Alternative, another idea would be for all 'parametric' models to require the parameter?
... Part of me likes this solution: if you are using a parametric model then it requires you
to think about it?

I can understand the reasoning behind this idea. On the other hand, for some models, the parameter
has a value that's optimal in a wide range of cases. In such cases, I think it we could make
the life of the user easier by falling back to this value. (Actually, that's why {{LMJelinekMercerSimilarity}}
does not have a default constructor; there is no single parameter value that is kind-of-optimal
in all cases).

bq. But i started thinking about this, say I created NormalizationRob, and it wants a bunch
of parameters...

Yes, I know, it'd be a bit difficult to support that... maybe if all Similarities and models
had a constructor with a map as a parameter? I'm not sure we want that, though.

bq. I think the intent here is to support all of lucene-core's capabilities?

In that case let's forget reflection for now.

> create Solr similarity factories for new ranking algorithms
> -----------------------------------------------------------
>                 Key: SOLR-2754
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>         Attachments: SOLR-2754.patch
> To make it easy to use some of the new ranking algorithms, we should add factories to
> * for parametric models like LM and BM25 so that parameters can be set from schema.xml
> * for framework models like DFR and IB, so that different basic models/normalizations/lambdas
can be chosen

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