CategorySearchEngine

public class CategorySearchEngine : AbstractSearchEngine

Category Search Engine used specifically for category search Checkout SearchEngine for more details

  • Search response information for current search items. Can be used for submitting missing result feedback

    Declaration

    Swift

    public private(set) var responseInfo: SearchResponseInfo? { get }
  • Start searching for query with provided options

    Declaration

    Swift

    public func search(
        categoryName: String,
        options: SearchOptions? = nil,
        completionQueue: DispatchQueue = .main,
        completion: @escaping (Result<[SearchResult], SearchError>) -> Void
    )

    Parameters

    categoryName

    Search category name

    options

    search request options

    completionQueue

    DispatchQueue.main is default

    completion

    completion closure