Elastic fulltext search mixins support (#770)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-01-06 12:09:45 +01:00
committed by GitHub
parent 7ebc44b8c0
commit 4328fdee9b
6 changed files with 67 additions and 54 deletions
+4
View File
@@ -36,6 +36,10 @@ class NullFullTextAdapter implements FullTextAdapter {
async search (query: any): Promise<IndexedDoc[]> {
return []
}
async remove (id: Ref<Doc>): Promise<void> {
}
}
async function createNullFullTextAdapter (): Promise<FullTextAdapter> {