Rafał Kuć schrieb:
Hello!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 .... Greets