Fixed sample code for minhash (#46385)

The sample code is wrong. Field type is required for the sample field.
I guess the intention was to give the sample field the name ```fingerprint```, mapping it as ```text``` using the custom analyzer ```my_analyzer```
This commit is contained in:
James Rodewig 2019-09-12 13:29:07 -04:00
parent 3b26657335
commit af7aba18d4

View File

@ -123,8 +123,8 @@ POST /index1
},
"mappings": {
"properties": {
"text": {
"fingerprint": "text",
"fingerprint": {
"type": "text",
"analyzer": "my_analyzer"
}
}