Skip to main content
@moss-dev/moss / LoadIndexOptions

Interface: LoadIndexOptions

Properties

PropertyTypeDescription
autoRefresh?booleanWhether to enable auto-refresh polling for this index. When enabled, the index will periodically check for updates from the cloud. Default false
pollingIntervalInSeconds?numberPolling interval in seconds. Only used when autoRefresh is true. Default 600 (10 minutes)
cachePath?stringFilesystem path for caching index data to disk. When set, downloaded indexes are persisted and reused on subsequent loads if the cloud data hasn’t changed. Auto-refresh also writes to this cache.