Search service configuration options.

export interface SearchServiceConfig extends OrchestratorSearchServiceConfig {
/** Wait for rate limit reset if needed. */
waitForRateLimit?: boolean;
/** Check cache before performing searches. */
checkCacheFirst?: boolean;
/** Cache results after fetching. */
cacheResults?: boolean;
}
interface SearchServiceConfig {
    waitForRateLimit?: boolean;
    checkCacheFirst?: boolean;
    cacheResults?: boolean;
    matchConfig: Partial<MatchEngineConfig>;
    batchSize: number;
    searchPerPage: number;
    maxSearchResults: number;
    enablePreSearch: boolean;
    exactMatchingOnly: boolean;
    bypassCache?: boolean;
    singlePageSearch?: boolean;
    enableComickSearch?: boolean;
    enableMangaDexSearch?: boolean;
    shouldUseWorkers?: boolean;
}

Hierarchy (View Summary)

Properties

waitForRateLimit?: boolean

Wait for rate limit reset if needed.

checkCacheFirst?: boolean

Check cache before performing searches.

cacheResults?: boolean

Cache results after fetching.

matchConfig: Partial<MatchEngineConfig>

Match configuration for filtering

batchSize: number

Number of manga to process in a batch

searchPerPage: number

Number of results per page

maxSearchResults: number

Maximum number of search results to return

enablePreSearch: boolean

Enable pre-search for common titles

exactMatchingOnly: boolean

Use exact matching only (no fuzzy matching)

bypassCache?: boolean

Skip cache and force fresh search

singlePageSearch?: boolean

Fetch only single page of results

enableComickSearch?: boolean

Enable searching via Comick source

enableMangaDexSearch?: boolean

Enable searching via MangaDex source

shouldUseWorkers?: boolean

Should attempt Web Worker-based matching for large batches.