mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
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:
parent
3b26657335
commit
af7aba18d4
@ -123,8 +123,8 @@ POST /index1
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"text": {
|
||||
"fingerprint": "text",
|
||||
"fingerprint": {
|
||||
"type": "text",
|
||||
"analyzer": "my_analyzer"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user