@mediafly/frontend-api - v20.4.1
    Preparing search index...

    Function searchItemsByTerm

    • Searches content with a full search term (e.g. text CONTAINS "pricing" AND type EQUALS "file"), sent as is. Use searchItems for a plain text search.

      There's no includeMedia option: viewerapi/content only uses it to choose between two mappers that return the same items, so it can't change which items come back.

      Parameters

      Returns Promise<SearchResultsResponse<Item>>