folks.
I'm new to elastic search and I have the following two search queries, which seems to do the same. But for accuracy I would like to know, if they are REALLY doing the same things:
Query 1:
{
"query": {
"bool": {
"should": [{
"match": {
"Adresse.values.street": "Muhstraße"
}},
{
"match": {
"Adresse.values.street": "Muhstrasse"
}}
]
}
}
}
Query 2:
{
"query": {
"bool": {
"must": {
"match": {
"Adresse.values.street": "Muhstraße|Muhstrasse"
}
}
}
}