Hello,
Is it possible to use elasticsearch dsl python client to implement a query that will run against a filed with colon?
For example if a field is this properties.grid:code
then a successfull query would be the following:
"query": {
"bool": {
"must": {
"match": {
"properties.grid:code": "MGRS-47RPH"
}
}
}
}
}
or even
{
"query": {
"term": {
"properties.grid:code": {
"value": "MGRS-47RPH"
}
}
}
}
I fail though to do it in python's elasticsearch_dsl/search.py
where the above is translated as
Search.filter("term", properties__grid<???>=<some_string_here>)
Any suggestions?