Answer the question
In order to leave comments, you need to log in
Elasticsearch - in some places it looks strange, why is that?
On request "ev", is "spruce". The rest of the queries seem to be fine.
Russian morphology plugin installed https://github.com/imotov/elasticsearch-analysis-m...
mapping
'properties': {
'id': {'type': 'integer'},
'name': {'type': 'string', 'analyzer': 'russian_morphology'},
}
curl -XPOST 'http://localhost:9200/myindex/tags/_search' -d '{"query":
{"match": {"name": "ев"}}}'
{
"_shards": {
"failed": 0,
"successful": 5,
"total": 5
},
"hits": {
"hits": [
{
"_id": "1160",
"_index": "myindex",
"_score": 5.7484603,
"_source": {
"id": 1160,
"name": "ели"
},
"_type": "tag"
}
],
"max_score": 5.7484603,
"total": 1
},
"timed_out": false,
"took": 5
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question