LunrSearchEngine
Home > @backstage/plugin-search-backend-node
> LunrSearchEngine
Lunr specific search engine implementation.
Signature:
class LunrSearchEngine implements SearchEngine
Implements: SearchEngine
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(options) | Constructs a new instance of the LunrSearchEngine class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
docStore | protected | Record<string, IndexableDocument> | |
highlightPostTag | protected | string | |
highlightPreTag | protected | string | |
logger | protected | LoggerService | |
lunrIndices | protected | Record<string, lunr.Index> | |
translator | protected | QueryTranslator |
Methods
Method | Modifiers | Description |
---|---|---|
getIndexer(type) | ||
query(query) | ||
setTranslator(translator) |