Overview
Returns state and asearch function for executing natural language searches over project content. Supports filtering by content type and scoping by space or conversation.
For integration guidance, see Semantic Search.
Usage Example
Parameters
This hook returns an object. Callsearch with:
The natural language query string.
Limit results to specific content types. Omit to search all types.
Scope results to a specific space.
Scope results to a specific conversation.
Maximum number of results to return.
Returns
Ranked search results.
true while a search request is in progress.Error message if the last search failed, otherwise
null.Executes the search and updates
results.Clears
results and error.
