Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Search → Query

AI-generated

Overview

This node performs a search query using the Discuss Kit API. It allows users to search various content types such as discussions, blogs, bookmarks, and documentation within the Discuss Kit platform. The node supports advanced search options like hybrid search, exact match, matching any term, including terms, and including comments in the search results. It also supports sorting results by latest or relevance and pagination through offset and limit parameters. This node is useful for scenarios where users want to programmatically search and retrieve relevant content from Discuss Kit for further processing or integration.

Use Case Examples

  1. Searching for discussions containing a specific keyword with exact match enabled.
  2. Retrieving the latest blog posts related to a search term sorted by relevance.
  3. Performing a hybrid search across multiple content types including comments.

Properties

Name Meaning
Query The search term (q parameter) used to perform the search.
Type The type of content to search within, such as discussions, blogs, bookmarks, or documentation.
Hybrid Search Whether to use hybrid search mode for the query.
Exact Match Whether to search for an exact match of the query term.
Match Any Whether to match any term in the query.
Include Whether to include the term in the search.
With Comments Whether to include comments in the search results.
Sort The sorting method for the search results, either by latest or relevance.
Offset The offset for pagination to skip a number of results.
Limit The maximum number of results to return.

Output

JSON

  • id - Unique identifier of the search result item.
  • title - Title of the search result item.
  • excerpt - Excerpt or summary of the search result item.
  • type - Type of the search result item, e.g., discussion, blog, bookmark, or doc.
  • comments - Comments included in the search result if 'With Comments' option is enabled.

Dependencies

  • Discuss Kit API

Troubleshooting

  • Ensure the API credentials or authentication token for Discuss Kit API are correctly configured to avoid authorization errors.
  • Verify that the search query parameter 'q' is not empty as it is required and will cause errors if missing.
  • Check the network connectivity and API endpoint availability if the node fails to fetch search results.
  • If no results are returned, try adjusting the search parameters such as type, sort, or enabling/disabling options like hybrid search or exact match to refine the query.

Links

Discussion