collate_key


Description:

public virtual string collate_key (string data)

Generate a collation key for a set of input data (usually a UTF-8 string passed through tokenization and term filters of the analyzer).

The default implementation just calls strdup.

Parameters:

this

The analyzer to generate a collation key with

data

The input data to generate a collation key for

Returns:

A newly allocated collation key. Use collate_cmp or collate_cmp_func to compare collation keys. Free with g_free.




2022 vala-language.org