Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-59678

Filter settings in index-settings.json are not applied properly

    Details

      Description

      In index-settings.json, filter setting weren't applied properly.

      How to reproduce

      1. Run Liferay portal
      2. Check the setting by curl -XGET 'http://localhost:9200/20118/?pretty (20118 is the target index folder)
      3. the filters applied for asset_tag_name are as follows.
            "settings" : {
              "index" : {
                "creation_date" : "1445397160589",
                "uuid" : "xCNzaSd7S6CteQXNlyLb4Q",
                "number_of_replicas" : "0",
                "analysis" : {
                  "analyzer" : {
                    "asset_tag_name" : {
                      "filter" : [ "lowercase" ],
                      "tokenizer" : "whitespace"
                    },
                    "keyword_lowercase" : {
                      "filter" : [ "lowercase" ],
                      "tokenizer" : "keyword"
                    }
                  }
                },
                "number_of_shards" : "1",
                "version" : {
                  "created" : "1070299"
                }
              }
            },
        

      Only one filter is applied. Supposed to be applied lowercase, stop, trim and word_delimiter.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 48 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 Alpha 2