Skip to content

SearchIndexGenerator

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/libs/parser-core/src/generators/versioning/search-index.generator.ts

Search index generator

Methods

MethodSignatureReturns
generategenerate(entities: Entity[], version: string, options: SearchIndexOptions)SearchIndex
generateJSONgenerateJSON(index: SearchIndex, pretty: undefined)string
searchsearch(index: SearchIndex, query: string, limit: undefined)SearchIndexEntry[]

Where it refuses work

  • SearchIndexGenerator stops the work with an early return when !normalizedQuery || queryWords.length === 0.

Was this page helpful?

Download as PDF