You would need to define an alternate field which copied a base field but
then had the desired alternate similarity, using SchemaSimilarityFactory.

See:
https://cwiki.apache.org/confluence/display/solr/Other+Schema+Elements


-- Jack Krupansky

On Tue, Dec 15, 2015 at 10:02 AM, Dmitry Kan <solrexp...@gmail.com> wrote:

> Hi guys,
>
> Is there a way to alter the similarity class at runtime, with a parameter?
>
> --
> Dmitry Kan
> Luke Toolbox: http://github.com/DmitryKey/luke
> Blog: http://dmitrykan.blogspot.com
> Twitter: http://twitter.com/dmitrykan
> SemanticAnalyzer: www.semanticanalyzer.info
>

Reply via email to