Multiword Synonym not working

Hi,

I am facing problem with multiword synonym on nested field.
Given below are the mapping details

Field

 "acts" : {
            "type" : "nested",
            "include_in_parent" : true,
            "properties" : {
              "value" : {
                "type" : "text",
                "analyzer" : "my_analyzer_acts"
              }
            }
          },

Filter

 "synonym_acts" : {
              "format" : "solr",
              "ignore_case" : "true",
              "type" : "synonym",
              "synonyms" : [
                "IPC,Indian Penal Code",
                "CrPC,CR.PC,CR.P.C,Code of Criminal Procedure,",
                "cpc,c.pc,c.p.c,code of civil procedure,"
              ]
            },

Analyzer

 "my_analyzer_acts" : {
          "filter" : [
            "standard",
            "lowercase",     
            "synonym_acts"
          ],
          "type" : "custom",
          "tokenizer" : "whitespace"
        }

Currently i am using 5.5 version.
I found an article saying that it might fixed in version 6.1 (https://github.com/elastic/elasticsearch/issues/26497)

Is it fixed or still open, kindly help me.

I found Other solutions also but i couldn't solve.
https://gist.github.com/mattweber/7374591

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