Use @backstage/plugin-search-common instead of @backstage/search-common

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-03-03 17:02:37 +01:00
parent 6921edc6a0
commit 3e54f6c436
59 changed files with 94 additions and 74 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ plugins integrated to search.
| Frontend Plugin | @backstage/plugin-search |
| Backend Plugin | @backstage/plugin-search-backend |
| Indexer Plugin | @backstage/plugin-search-backend-node |
| Common Code | @backstage/search-common |
| Common Code | @backstage/plugin-search-common |
## Get Involved
+1 -1
View File
@@ -365,7 +365,7 @@ implement the factory method that instantiates the stream:
```ts
import { BatchSearchEngineIndexer } from '@backstage/plugin-search-backend-node';
import { SearchEngine } from '@backstage/search-common';
import { SearchEngine } from '@backstage/plugin-search-common';
export class YourSearchEngineIndexer extends BatchSearchEngineIndexer {
constructor({ type }: { type: string }) {
// Customize the number of documents passed to the index method per batch.