Thanks Markus!

Adding <similarity class="solr.SchemaSimilarityFactory"/> fixed the problem.

>>Keep in mind that coord and queryNorm (=1.0f) are not implemented now, so
you will get different scores for TF-IDF!

Can you explain more about this, or is it documented somewhere?
Do I need to read the source for solr.SchemaSimilarityFactory?
Is there a plan to implement coord and queryNorm?


Tom

On Mon, Dec 17, 2012 at 5:17 PM, Markus Jelsma
<markus.jel...@openindex.io>wrote:

> Hi Tom,
>
> The global similarity must be able to delegate similarity to your
> per-field setting. Solr has the SchemaSimilarityFactory that can do this.
> Please replace your global similarity with:
>
> <similarity class="solr.SchemaSimilarityFactory"/>
>
> Keep in mind that coord and queryNorm (=1.0f) are not implemented now, so
> you will get different scores for TF-IDF!
>
> Cheers,
>
>
>

Reply via email to