Azure Connectors Node.js SDK
    Preparing search index...

    Definition: WorkItemSearchRequest

    interface WorkItemSearchRequest {
        $orderBy?: SortOption[];
        $skip?: number;
        $top?: number;
        filters?: Record<string, string[]>;
        includeFacets?: boolean;
        searchText: string;
    }
    Index
    $orderBy?: SortOption[]

    Options for sorting search results. If set to null, the results will be returned sorted by relevance. If more than one sort option is provided, the results are sorted in the order specified in the OrderBy.

    $skip?: number

    Number of results to be skipped. Defaults to 0.

    $top?: number

    Number of results to be returned. Defaults to 100.

    filters?: Record<string, string[]>

    Filters to be applied. Set it to null if there are no filters to be applied.

    includeFacets?: boolean

    Flag to opt for faceting in the result. Default behavior is false.

    searchText: string

    The search text.