Created
March 31, 2015 23:16
-
-
Save jtibshirani/f4acab68e7e505fb1778 to your computer and use it in GitHub Desktop.
search_quote_analyzer always added to mapping when position_offset_gap is specified
This file contains 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 -XDELETE 'localhost:9200/test' | |
curl -XPOST 'localhost:9200/test' -d ' | |
{ | |
"settings": { | |
"number_of_replicas": 0, | |
"number_of_shards": 1 | |
}, | |
"mappings": { | |
"doc" : { | |
"properties" : { | |
"message" : { | |
"type" : "string", | |
"store" : true, | |
"position_offset_gap": 1000 | |
} | |
} | |
} | |
} | |
}' | |
curl -XGET 'localhost:9200/test/_mapping?pretty' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment