Skip to main content
Use post search when users need to find content across accessible post targets. The SDK exposes semantic post search for natural-language queries on TypeScript, iOS, Android, and Flutter, and hashtag post search for explicit hashtag matching on TypeScript, iOS, and Android.
The current public Flutter SDK source does not expose hashtag post search. Semantic post search is available on Flutter.Flutter semantic post search requires amity_sdk 7.8.7 or later.

Parameters

Semantic Search Posts

Use semantic search when a natural-language query should match accessible posts for the requested target and data types.

Hashtag Search Filters

Hashtag Search Posts

Hashtag search finds posts that contain one or more hashtags. Pass hashtag names without the # prefix.

Notes

  • For semantic post search, provide targetType and targetId together when scoping search to one user or community target.
  • Use parent-only matching when the UI should show top-level posts instead of child posts from mixed or threaded structures.
  • For hashtag search, TypeScript requires a targetType; iOS and Android expose hashtag search without a target type parameter. Hashtag search is not available in the Flutter SDK.
  • On Flutter, getLiveCollection() returns results in server relevance order; call loadNext() to page and dispose() when the screen is torn down. getPagingData(token:, limit:) is available for a one-shot query.
  • Search results are permission-aware from the backend response, but your UI should still handle empty results and authorization errors.

Query Posts

Query live post collections by target, type, review state, tags, and pagination options.

Feeds and Timelines

Query feed-style post collections for global, custom-ranking, user, and community feeds.

Search Overview

Review SDK search surfaces for community and post discovery.