Synonym in Query_string not working as expected

Hey, Thank you in advance, any help would be greatly appreciated.
I am not clear why this happening.

when i execute the given(below) query its return 200. but the synonym created for the query is not correct. so results are not as expected.
it also exclude the original word from query while creating synonym.







         "replacement":" "
         "pattern":" |[-,/]|&",
         "replacement":" "
  1. query = " OR"

                          "#"                     "default_operator":"AND",
                          "#"                     "phrase_slop":2

Synonyms in txt file

the synonym output

  1. if query = " OR", it's creating "noida noida"
    (Synonym(\"noida noida\"\"greater noida\"\"gautam buddh nagar\"\"gautam buddh noida\")

  2. if query = "qa", it will remove the qa from query.
    (title:\"qa assurance\" title:\"quality assurance\" title:assurance title:qc)^4.0

  3. example if query = "qc"
    (title:\"qc assurance\" title:\"quality assurance\" title:qa title:assurance)^4.0

solved: don't use multiplexer with synonym_graph, they are buggy together.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.