Hi ,

Am using stop words first time .

I am trying to configure stop words and want to see indexing process omits 
these stop words 

can you let me know why stop words not getting omitted during indexing .

I still see  "AND",
              "AN",
              "THE",
              "The" are still got indexed 


The below  is index creation request 



{
  "settings": {
    "index": {
      "number_of_shards": 1,
      "number_of_replicas": 0,
      "analysis": {
        "analyzer": {
          "standard": {
            "type": "standard"
          },
          "english": {
            "stopwords": [
              "AND",
              "AN",
              "THE",
              "The",
              ""
            ],
            "type": "english"
          },
          "cjk": {
            "type": "cjk"
          },
          "french": {
            "type": "french"
          },
          "german": {
            "type": "german"
          },
          "italian": {
            "type": "italian"
          },
          "spanish": {
            "type": "spanish"
          },
          "russian": {
            "type": "russian"
          },
          "arabic": {
            "type": "arabic"
          }
        }
      }
    }
  },
  "aliases": {
    "1005": {}
  }
}

and below is the index  field mapping request 



{
  "document": {
    "date_detection": true,
    "numeric_detection": true,
    "dynamic_templates": [
      {
        "multi": {
          "match": "multi_*",
          "mapping": {
            "type": "multi_field",
            "fields": {
              "{name}": {
                "index": "analyzed",
                "type": "{dynamic_type}"
              },
              "{name}_raw": {
                "index": "not_analyzed",
                "type": "{dynamic_type}"
              }
            }
          }
        }
      },
      {
        "number": {
          "match": "n0*",
          "mapping": {
            "index": "analyzed",
            "type": "{dynamic_type}"
          }
        }
      }
    ]
  }
}

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/7589412d-ca04-4c54-88b3-ffcdad48b337%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to