Skip to main content

Interface: TopicExpansionInput<T>

Defined in: Services/Search/TopicExpansion.ts:51

Input to the topic expansion function. Caller pre-fetches all data.

Type Parameters

T

T

Properties

nonTopicResults

nonTopicResults: T[]

Defined in: Services/Search/TopicExpansion.ts:57

Non-topic results to merge with the expanded verses


topicMatches

topicMatches: TopicMatch[]

Defined in: Services/Search/TopicExpansion.ts:53

Topic entries that matched the query (from search results)


topicVerses

topicVerses: Map<string, TopicVerseData[]>

Defined in: Services/Search/TopicExpansion.ts:55

Pre-fetched verse lists for each topic (keyed by topic match ID)