Update returned values in response

Hello !

after my query I would like to know if it's possible to update the "instanceof" values by there labels equivalents ( municipalities and cities of Serbia == Q783930 ) .

Thanks :slight_smile:

returned answer sample:
{
"_index" : "enwiki_latest",
"_type" : "_doc",
"_id" : "Q714606",
"_score" : 40.787083,
"_source" : {
"descriptions" : "Municipality of Belgrade, Serbia",
"labels" : "Lazarevac",
"instanceof" : [
"Q783930",
"Q515",
"Q56061",
"Q1267939",
"Q648681"
]
},
"matched_queries" : [
"belgrade"
]
}

That's not something Elasticsearch can handle natively.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.