CMS Page/Block identifier tokenized
mtarld opened this issue · comments
identifier
of CMS Page and Blocks is text
type therefore -
seems to be interpreted as a tokenizer.
That creates a bug for cms pages with a -
in its identifier such as about-us
.
That's why about-us
is not found at all using VSF elastic query:
GET _search
{
"query": {
"bool": {
"filter": {
"terms": {
"identifier": [
"about-us"
]
}
}
}
}
}
Whereas it is found using that elastic query:
GET _search
{
"query": {
"bool": {
"filter": {
"terms": {
"identifier": [
"about"
]
}
}
}
}
}
I suppose that identifier should be keyword
type.