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.
| tag_name |
A tag name in a component element, e.g. "name" or "summary" or "keyword" |
|
The tag weight used in (fulltext) searches. 0 for lowest weight/unused. |