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.
This commit is contained in:
Fredrik Adelöw
2020-05-23 19:29:21 +02:00
parent 618065b783
commit 645bee1b4c
@@ -27,6 +27,7 @@ import {
DbEntityResponse,
DbLocationsRow,
} from './types';
import { buildEntitySearch } from './search';
function serializeMetadata(
metadata: DescriptorEnvelope['metadata'],