We are currently using the rest api to query specific records from our "promotions" type.
we have a field called
receiver_country which is just a text field. We use this to list the countries this promotion applies to in the following way:
be, us, fr, de. (comma separated list of short country codes).
However when we try to query the a promotion with the full text search functionality it doesn't quite work the way we expect.
Reading other posts here, it looks like short words might be ignored because the fulltext search is optimized for seo search.
[fulltext(my.promotions.receiver_country, "be")] -> these short queries either return nothing or everything. Never the actual matching ones. If I try the same query on the
name field with one or multiple words, it will actually match the records with that string in the name.
Is this expected and if so, how can we work around this?
Thanks in advance.