Other queries
We can add other query parameters, for example for related tags.
The query for related tags can be useful to search for related contento that is for resources that are or can be similar to a given resource. Resources are considered to be similar if they share at least one tag with a given resource.
Example: To search for resources r2 . . . rrelated to a resource r1, you determine the tags of resource r1 and hand them over to the following query:
tm:ts:related&tmparam=tm:name:tagnameThis query returns a feecontaining all tags related to the tag names or set of tags specified. The query results in a list of all tags assigned to all resources that have been assigned at least one of the tags that resource r1 has also been assigned. In other words, This query lists all tags of all similar or related resources r2 . . . rn. We can now use this list to query for all these listed resources r2...rn.
- Type ahead
Portal tagging and rating provides a query for the type-ahead feature. This feature allows users to get suggestions for tags that other users have applied already before. This feature can help reduce the number of variants of tags.- Search suggestions for tag names
To make search for tag names by users easier, search suggestions provide suggestions for tag names as they appear in the tag cloud and in the tag result portlet.- Querying for the OpenSearch description document
We can query for the OpenSearch description document.
Parent: The REST API