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

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

```ts
import { Client } from '@elastic/elasticsearch';
import { Config } from '@backstage/config';
import { IndexableDocument } from '@backstage/search-common';
import { Logger as Logger_2 } from 'winston';
import { SearchEngine } from '@backstage/search-common';
import { SearchQuery } from '@backstage/search-common';
import { SearchResultSet } from '@backstage/search-common';

// Warning: (ae-missing-release-tag) "ElasticSearchSearchEngine" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class ElasticSearchSearchEngine implements SearchEngine {
  constructor(
    elasticSearchClient: Client,
    aliasPostfix: string,
    indexPrefix: string,
    logger: Logger_2,
  );
  // Warning: (ae-forgotten-export) The symbol "ElasticSearchOptions" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  static fromConfig({
    logger,
    config,
    aliasPostfix,
    indexPrefix,
  }: ElasticSearchOptions): Promise<ElasticSearchSearchEngine>;
  // (undocumented)
  index(type: string, documents: IndexableDocument[]): Promise<void>;
  // (undocumented)
  query(query: SearchQuery): Promise<SearchResultSet>;
  // Warning: (ae-forgotten-export) The symbol "ElasticSearchQueryTranslator" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  setTranslator(translator: ElasticSearchQueryTranslator): void;
  // Warning: (ae-forgotten-export) The symbol "ConcreteElasticSearchQuery" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  protected translator({
    term,
    filters,
    types,
    pageCursor,
  }: SearchQuery): ConcreteElasticSearchQuery;
}
```
