Hi everyone,
By accident i inserted some values as arrays inside the index, when the actual value should have been a string.
This is the wrong value :
{
"hits" : [
{
"_index" : "en_file",
"_type" : "_doc",
"_id" : "I5nOLnkB0v90hg-Gubwb",
"_score" : 10.830619,
"_source" : {
"url" : [
"https://repository.dri.ie/objects/ws85q0866/files/x059rs54j?surrogate=pdf"
]
}
}
When it should have been:
{
"hits" : [
{
"_index" : "en_file",
"_type" : "_doc",
"_id" : "I5nOLnkB0v90hg-Gubwb",
"_score" : 10.830619,
"_source" : {
"url" : "https://repository.dri.ie/objects/ws85q0866/files/x059rs54j?surrogate=pdf"
}
}
Any ideas how can i query values that are arrays and not as normal string?