Any way in Solr to give weights to synonyms? (generated by SynonymFilterFactory )
Longer version of the question / some background:
We'd like to give smaller weight for synonyms words/terms injected by SynonymFilterFactory.
So exact matches get higher score.
First use case just to give one static weight for all synonyms and if search-time matches through synonyms it'll have a certain (lower) weight than exact match.
Can't find this in documentation.
Is there is a way for Solr to assign weights for terms produced by SynonymFilterFactory?
Any pointers highly appreciated.
PS. Another use case is to fine-tune each synonyms with a particular weight for each particular synonym (i.e. synonyms="synonyms.txt" would have 3 columns and not 2). It seems not currently possible, so perhaps just static weight for all synonyms described above would be possible.