utils_get_tag_search_weight


Description:


public uint16 utils_get_tag_search_weight (string tag_name)

Retrieve the raw search token weight for the given tag name that AppStream uses internally for searching.

This can be used to implement separate, but compatible search logic.

Parameters:

tag_name

A tag name in a component element, e.g. "name" or "summary" or "keyword"

Returns:

The tag weight used in (fulltext) searches. 0 for lowest weight/unused.


Namespace: AppStream
Package: appstream