Search text content property with wildcard

Hi all,

I’m trying to search an indexed content property of type text with a wildcard (*-Symbol).
The search does not return any results.
Example: I have these values stored: “abcd_123”, “abcd_567”. I want to write a CQL to find all contents, which start with “abcd_”. In CQL one could say property~"abcd_*", but such a query does not return any results for a query to the content properties. E.G. /rest/api/content/search?cql=myIndexedTextProperty~"asdf_*" - however /rest/api/content/search?cql=myIndexedTextProperty~"asdf_123" returns the first result (and verifies that the property is actually indexed).

Do content property searches of type text not allow wildcard searches? The documentation is not clear enough about that. Please let me know if this is a bug or I could request a feature.

Thanks and greetings
Lukas

2 Likes