From 645bee1b4c1a31a10e3fa3ec235fc269f84628cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Sat, 23 May 2020 19:29:21 +0200 Subject: [PATCH] Add code for building a search index over added/modified entities This is not actually being inserted yet, because doing so needs a little refactoring of the database code that happens in another PR. Adding separate PR for the index to make it easier to review the logic. --- plugins/catalog-backend/src/database/Database.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/catalog-backend/src/database/Database.ts b/plugins/catalog-backend/src/database/Database.ts index c797a57f3c..2413fb217c 100644 --- a/plugins/catalog-backend/src/database/Database.ts +++ b/plugins/catalog-backend/src/database/Database.ts @@ -27,6 +27,7 @@ import { DbEntityResponse, DbLocationsRow, } from './types'; +import { buildEntitySearch } from './search'; function serializeMetadata( metadata: DescriptorEnvelope['metadata'],