Hello,
I have another probably newbie question. I would like to achieve something
like the following:
{
"size": "20",
"query": {
"filtered": {
"query": {"match_all": {}},
"filter": {
"and": [
{"term": {"Fields.FieldName": "contentbody"}},
{"wildcard": {"Fields.Value": "direct*"}}
]
}
}
}
}
where I am looking for all fields of contentbody having direct as a partial
starting match.
Needless to say, out of the box, this query returns a 500 error stating No
filters for wildcard are registered.
As the documents are somewhat dynamic in nature, my hope was to avoid
specific mappings for the documents, but adding special config for wildcard
filters is well within reason.
Thank you
--