Method
AppStreamPoolbuild_search_tokens
Declaration [src]
gchar**
as_pool_build_search_tokens (
AsPool* pool,
const gchar* search
)
Description [src]
Splits up a string into an array of tokens that are suitable for searching. This includes stripping whitespaces, casefolding the terms and removing greylist words.
This function is usually called automatically when needed, you will only need to run it explicitly when you need to check which search tokens the pool will actually use internally for a given phrase.