cIs there a way i can use a query like below to look for any name like this GY-CAD2-10C-001, rather than creating a filter and writing in 30-50 entries, can you create a query that will look for the all that start with GY-CAD2-10C-???
Hope im making sense.
{
"query": {
"bool": {
"should": [
{
"match_phrase": {
"properties.term id.raw": "GY-CAD2-10C-***"
}
}
],
"minimum_should_match": 1
}
}
}