elasticsearch-minhash
elasticsearch-minhash copied to clipboard
How to use copy_bits_to operator?
I was using minhash plugin with kibana, but I couldnt retrieve the bits keyword field in GET...
PUT /test_minhash_test { "index":{ "analysis":{ "analyzer":{ "minhash_analyzer":{ "type":"custom", "tokenizer":"standard", "filter":["minhash"] } } } } }
PUT /test_minhash_test/_doc/_mapping { "_doc":{ "properties":{ "message": { "type":"text", "copy_to":"minhash_value" }, "minhash_value":{ "type":"minhash", "minhash_analyzer":"minhash_analyzer", "store":true, "copy_bits_to": "content_minhash_bits" }, "content_minhash_bits": { "type": "keyword", "store":true } } } }
GET /test_minhash_test/_doc/_search/?pretty&stored_fields=*
What am I doing wrong?
here is my fess.log: fess.log
any ideas how to retrieve the content_minhash_bits field? I am stuck in getting the field ? What am I doing wrong?
I guess this issue can be closed since copy_bits_to was removed in 2021 (don't know why).
Elasticsearch often changes their interfaces, so it's difficult to keep the copy_bits_to setting.