You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
Hi,
i am using Elasticsearch 2.3.2 with the Mapper Attachments Plugin. I try to copy the extracted content to another field, as described here
This is not working for me, though.
I also found a closed bug here. But the discussion does it not make clear, whether the bug has been resolved or not.
Therefore i would be happy, if you could give me a definitive answer, whether this is possible or not.
Hi,
i am using Elasticsearch 2.3.2 with the Mapper Attachments Plugin. I try to copy the extracted content to another field, as described here
This is not working for me, though.
I also found a closed bug here. But the discussion does it not make clear, whether the bug has been resolved or not.
Therefore i would be happy, if you could give me a definitive answer, whether this is possible or not.
My repro-sequence is this:
curl -XPOST 'http://localhost:9200/test' -d '{
"entry": {
"properties": {
"file": {
"type": "attachment",
"fields": {
"content": {
"type": "string",
"copy_to": "fulltext_en"
}
}
},
"fulltext_en": {
"type": "string",
"analyzer": "english"
}
}
}
}'
curl -XPOST 'http://localhost:9200/test/entry' -d '{
"file": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQ="
}'
// the base64 is "Lorem ipsum dolor sit amet"
curl -XPOST 'http://localhost:9200/test/_search' -d '
{
"query": {
"match": {
"fulltext_en": "ipsum"
}
}
}'
The text was updated successfully, but these errors were encountered: