lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elisabeth benoit <>
Subject per field similarity not working with solr 4.2.1
Date Thu, 09 Oct 2014 10:21:47 GMT

I am using Solr 4..2.1 and I've tried to use a per field similarity, as
described in

so in my schema I have

<schema name="search" version="1.4">
<similarity class="solr.SchemaSimilarityFactory"/>

and a custom similarity in fieldtype definition

    <fieldType name="text" class="solr.TextField"
       <analyzer type="index">

but it is not working

when I send a request with debugQuery=on, instead of [
NoTFSimilarity], I see []

or to give an example, I have

weight(catchall:bretagn in 2575) []

instead of weight(catchall:bretagn in 2575) [NoTFSimilarity]

Anyone has a clue what I am doing wrong?

Best regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message