-Re: Override Similarity
Kraus, Ralf | pixelhouse ... 2008-10-28, 11:02
Rafaďż˝ Kuďż˝ schrieb:
> You can do it, by extending the DefaultSimilarity class from
> org.apache.lucene.search package. After that, You need to add one line
> to schema.xml file, which might look like this:
> <similarity class="com.company.CustomSimilarity" />
> After that, Solr will recognize Your new similarity class and will use
> it to compute score.
thx ! Runs perfect ....