Re: Help with parsing configuration using SolrParams/NamedList

2011-02-23 Thread Markus Jelsma
Hi, The params you have suggest you're planning to use SweetSpotSimilarity. There already is a factory you can use in Jira. https://issues.apache.org/jira/browse/SOLR-1365 Cheers, > Hi, > > I'm trying to use a CustomSimilarityFactory and pass in per-field > options from the schema.xml, like so

Help with parsing configuration using SolrParams/NamedList

2011-02-16 Thread Jay Luker
Hi, I'm trying to use a CustomSimilarityFactory and pass in per-field options from the schema.xml, like so: 500 1 0.5 500 2 0.5 My problem is I am utterly failing to figure out how to parse this nested option structu