This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XGET 'localhost:9200/places/_analyze?analyzer=default' -d 'garage automobiles de france' | |
{"tokens": | |
[{"token":"garag","start_offset":0,"end_offset":6,"type":"word","position":1}, | |
{"token":"automobil","start_offset":7,"end_offset":18,"type":"word","position":2}, | |
{"token":"de","start_offset":19,"end_offset":21,"type":"word","position":3}, | |
{"token":"franc","start_offset":22,"end_offset":28,"type":"word","position":4}] | |
} | |
/*** elasticsearch.yml **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've got to update my mapping with this 3 new fields. | |
and i'm wonder if is enhance for facets ? | |
thanks. | |
curl -XPOST localhost:9200/places -d '{ | |
"mappings" : { | |
"place" : { | |
"properties" : { |
NewerOlder