SourceOptionsSiteColl

public struct SourceOptionsSiteColl : Codable, Equatable

Object that defines a Microsoft SharePoint site collection to crawl with this configuration.

  • The Microsoft SharePoint Online site collection path to crawl. The path must be be relative to the organization_url that was specified in the credentials associated with this source configuration.

    Declaration

    Swift

    public var siteCollectionPath: String
  • The maximum number of documents to crawl for this site collection. By default, all documents in the site collection are crawled.

    Declaration

    Swift

    public var limit: Int?
  • Initialize a SourceOptionsSiteColl with member variables.

    Declaration

    Swift

    public init(
        siteCollectionPath: String,
        limit: Int? = nil
    )

    Parameters

    siteCollectionPath

    The Microsoft SharePoint Online site collection path to crawl. The path must be be relative to the organization_url that was specified in the credentials associated with this source configuration.

    limit

    The maximum number of documents to crawl for this site collection. By default, all documents in the site collection are crawled.

    Return Value

    An initialized SourceOptionsSiteColl.