[Search] Improvements to DefaultCatalogCollator (#5491)
* Add owner/lifecycle to default catalog document and allow location to be configured by integrators. Signed-off-by: Eric Peterson <ericpeterson@spotify.com> * Test the DefaultCatalogCollator Signed-off-by: Eric Peterson <ericpeterson@spotify.com> * Changeset. Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
@@ -32,7 +32,7 @@ export default async function createPlugin({
|
||||
indexBuilder.addCollator({
|
||||
type: 'software-catalog',
|
||||
defaultRefreshIntervalSeconds: 600,
|
||||
collator: new DefaultCatalogCollator(discovery),
|
||||
collator: new DefaultCatalogCollator({ discovery }),
|
||||
});
|
||||
|
||||
const { scheduler } = await indexBuilder.build();
|
||||
|
||||
Reference in New Issue
Block a user