0.6.3 • Published 4 years ago
evo-search v0.6.3
References
sync mongo collection to Elasticsearch with monstache
Elastic search tokenizers
- https://stackoverflow.com/questions/38824469/how-to-index-data-using-edge-ngram-in-elasticsearch-which-include-spaces-also
- https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-standard-analyzer.html
- https://www.elastic.co/guide/en/elasticsearch/reference/current/search-analyzer.html#search-analyzer
- multi_search on nested fields https://discuss.elastic.co/t/multi-match-query-string-with-nested-and-non-nested-fields/118652
Chosen tokenizers settings
- https://www.elastic.co/guide/en/elasticsearch/reference/7.x/analysis-edgengram-tokenizer.html
- https://www.elastic.co/guide/en/elasticsearch/reference/7.x/analysis-ngram-tokenizer.html
PUT /index.name
- Setting JSONs are found in indices folder
check settings and mappings
GET /index.name/_settings
GET /index.name/_mappings
POST /index.name/_analyze
{
"analyzer": "analyzer_name",
"text": "The 2 QUICK Brown-Foxes jumped over the lazy dog's bone."
}
Update Elasticsearch settings that are not dynamic
Reindexing
POST _reindex
{
"source": {
"index": "index.name"
},
"dest": {
"index": "index2.name"
}
}
0.6.3
4 years ago