From my understanding, if you want regional sales manager to be indexed as both director of sales and area manager, you would have to type:
Regional sales manager -> director of sales, area manager I do not believe you can chain synonyms. Re: bigrams/trigrams, I was more interested in you wanting to manually create them by inserting a "_" between the tokens. There is a bigram / trigram capability OOTB with Solr, so is there a reason you're manually coding these into your index instead of just using the OOTB function? On 1/20/20, 6:58 AM, "fiedzia" <fied...@gmail.com> wrote: > what is the reasoning behind adding the bigrams and trigrams manually like that? Maybe if we knew the end goal, we could figure out a different strategy. Happy that at least the matching is working now! I have large amount of synonyms and keep adding new ones, some of them partially overlap. Its the nature of a language that adding keywords to a phrase creates distinctive meaning. Another example: sales manager -> director of sales regional sales manager -> area manager I'd expect "regional sales manager" to be indexed as both. regional sales manager ^^^^^^^^^^^^^^ -> director of sales ^^^^^^^^^^^^^^^^^^^^^^ -> area manager so that searching for any of those terms matches and highlights relevant part. However when SynonymGraphFilter finds one synonym it will ignore the other. -- Sent from: https://urldefense.proofpoint.com/v2/url?u=https-3A__lucene.472066.n3.nabble.com_Solr-2DUser-2Df472068.html&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=_8ViuZIeSRdQjONA8yHWPZIBlhj291HU3JpNIx5a55M&m=JUEk2QAGcPS4Pi_y6d3EWDmtYMVjg2Sg-4ZwC-90VqE&s=tgepeqV5fWmuUgtTc767hv_1czuJnhM9O9LmWVgpDdM&e=