: a per field basis. I understand BM25 similarity is now supported in Solr

BM25 has been supported for a while, the major change recently is that it 
is now the underlying default in Solr 6.

: but I was hoping to be able to configure k1 and b for different fields such
: as title, description, anchor etc, as they are structured documents.

What you can do in Solr is configured idff Similarity instances on a 
per-fieldType basis -- but you can have as many fieldTypes in your schema 
as you want, so you could have one type used just by your title field, and 
a diff type used just by your description field, etc...

: Current Solr Version 5.4.1

You can download the solr refrence guide for 5.4 from here...

http://archive.apache.org/dist/lucene/solr/ref-guide/

You'll want to search for Similarity and in particularly 
"SchemaSimilarityFactory" which (in 5.4) you'll have to configure 
explicitly in order to use diff BM25Similarity instances for each 
fieldType.

In 6.0, SchemaSimilarityFactory is the global default, with BM25 as 
the per-field default...

The current (draft) guide for 6.0 (not yet released) has info on that...
https://cwiki.apache.org/confluence/display/solr/Other+Schema+Elements




-Hoss
http://www.lucidworks.com/

Reply via email to