update es index

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov
2021-09-14 16:21:05 +02:00
parent 5439f55397
commit 4b0e2ceaa7
6 changed files with 79 additions and 19 deletions
+4
View File
@@ -15,6 +15,7 @@
//
import { DOMAIN_TX } from '@anticrm/core'
import type { Ref, Doc } from '@anticrm/core'
import { start as startJsonRpc } from '@anticrm/server-ws'
import { createInMemoryAdapter, createInMemoryTxAdapter } from '@anticrm/dev-storage'
import { createServerStorage, FullTextAdapter, IndexedDoc } from '@anticrm/server-core'
@@ -28,6 +29,9 @@ class NullFullTextAdapter implements FullTextAdapter {
console.log('noop full text indexer: ', doc)
}
async update (id: Ref<Doc>, update: Record<string, any>): Promise<void> {
}
async search (query: any): Promise<IndexedDoc[]> {
return []
}