I set up an index using those settings :
{
"settings": {
"index": {
"type": "default"
},
"number_of_shards": 1,
"number_of_replicas": 0,
"analysis": {
"filter": {
"stopper": {
"type": "stop",
"stopwords": "english"
},
"stemmer_light": {
"type": "stemmer",
"name": "light_english"
},
"stemmer_possessive": {
"type": "stemmer",
"name": "possessive_english"
}
},
"analyzer": {
"new_analyzer" : {
"type": "custom",
"tokenizer": "whitespace",
"filter": ["stopper",
"lowercase",
"whitespace",
"stemmer_light",
"stemmer_possessive"]
}
}
}
}
}
After I am done with indexing I run these:
GET /index1/document/1101/_source
GET /index1/_mtermvectors/
{
"docs": [
{
"_type": "news",
"_id": "1101",
"fields": ["text"],
"term_statistics": true
}
]
}
None of these show me stemmed words and moreover all still have the stop
words in them!!! What am I doing wrong?
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f5d6a6df-ca79-427a-9b1a-74fca04e8b40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.