I want to search some data by tags.
Can i store 2 or more fields with the same name and type in document?
Can i use this mapping for that?
{
"properties": {
"tag": {
"type": "keyword"
},
"origin": {
"type": "keyword"
}
}
}
How can i add a new tag to the document and search by them?
Should i use an array of a tags?
What is the best way to do that?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.