## API Report File for "@backstage/plugin-search-backend-node"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
import { DocumentCollator } from '@backstage/search-common';
import { DocumentDecorator } from '@backstage/search-common';
import { IndexableDocument } from '@backstage/search-common';
import { Logger as Logger_2 } from 'winston';
import { default as lunr_2 } from 'lunr';
import { QueryTranslator } from '@backstage/search-common';
import { SearchEngine } from '@backstage/search-common';
import { SearchQuery } from '@backstage/search-common';
import { SearchResultSet } from '@backstage/search-common';

// Warning: (ae-missing-release-tag) "IndexBuilder" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class IndexBuilder {
  // Warning: (ae-forgotten-export) The symbol "IndexBuilderOptions" needs to be exported by the entry point index.d.ts
  constructor({ logger, searchEngine }: IndexBuilderOptions);
  // Warning: (ae-forgotten-export) The symbol "RegisterCollatorParameters" needs to be exported by the entry point index.d.ts
  addCollator({
    collator,
    defaultRefreshIntervalSeconds,
  }: RegisterCollatorParameters): void;
  // Warning: (ae-forgotten-export) The symbol "RegisterDecoratorParameters" needs to be exported by the entry point index.d.ts
  addDecorator({ decorator }: RegisterDecoratorParameters): void;
  build(): Promise<{
    scheduler: Scheduler;
  }>;
  // (undocumented)
  getSearchEngine(): SearchEngine;
}

// Warning: (ae-missing-release-tag) "LunrSearchEngine" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class LunrSearchEngine implements SearchEngine {
  constructor({ logger }: { logger: Logger_2 });
  // (undocumented)
  protected docStore: Record<string, IndexableDocument>;
  // (undocumented)
  index(type: string, documents: IndexableDocument[]): Promise<void>;
  // (undocumented)
  protected logger: Logger_2;
  // (undocumented)
  protected lunrIndices: Record<string, lunr_2.Index>;
  // (undocumented)
  query(query: SearchQuery): Promise<SearchResultSet>;
  // Warning: (ae-forgotten-export) The symbol "LunrQueryTranslator" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  setTranslator(translator: LunrQueryTranslator): void;
  // (undocumented)
  protected translator: QueryTranslator;
}

// Warning: (ae-missing-release-tag) "Scheduler" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export class Scheduler {
  constructor({ logger }: { logger: Logger_2 });
  addToSchedule(task: Function, interval: number): void;
  start(): void;
  stop(): void;
}

export { SearchEngine };
```
