Find all collection documents

Description

This Step template allows searching documents from the OneReach LookUp collection. You can specify the collection ID, set the weight between sparse and vector search, define the search query, and set the limit and offset for pagination.

Authorization

You have two options for authorization:

  1. Inherit from previous Flow (chosen by default)
  2. Manual token (you can manually enter the token)

Parameters

Collection ID: the ID of the existing LookUp collection to which the document belongs. This field is required, it is empty by default.

Advanced settings

  • Alpha: the weight between sparse and vector search. 0 is pure sparse (search by name or description); 1 is pure vector (search by content). This field is not required and the default value is 0.
  • Query: the search query. If it's empty, all documents from the collection will be displayed. This field is not required and is empty by default.
  • Limit: the limit for pagination. It defines how many documents will be shown in the search result. This field is required and the default value is 10.
  • Offset: the offset for pagination. It defines how many documents will be skipped from the search result. This field is required and the default value is 0.

Merge field settings

The content is returned at the requested URL. The returned data is an object.

Error handling

This is a checkbox field that is selected by default. If you deselect the checkbox, there won't be a log with an error leg. The Flow will proceed down this exit if an error occurred during the Step execution

Timeout handling

Timeout is handled as a separate leg with a default value of 30 seconds. You can set up the timeout duration between 10 seconds and 30 minutes.

Reporting

This is a Step event.