Skip to main content

LunrSearchEngine

Home > @backstage/plugin-search-backend-node > LunrSearchEngine

Lunr specific search engine implementation.

Signature:

class LunrSearchEngine implements SearchEngine 

Implements: SearchEngine

Constructors

ConstructorModifiersDescription
(constructor)(options)Constructs a new instance of the LunrSearchEngine class

Properties

PropertyModifiersTypeDescription
docStoreprotectedRecord<string, IndexableDocument>
highlightPostTagprotectedstring
highlightPreTagprotectedstring
loggerprotectedLoggerService
lunrIndicesprotectedRecord<string, lunr.Index>
translatorprotectedQueryTranslator

Methods

MethodModifiersDescription
getIndexer(type)
query(query)
setTranslator(translator)