No need for the fts module anymore
This commit is contained in:
-1
@@ -28,7 +28,6 @@ import com.vitorpamplona.quartz.nip01Core.core.OptimizedJsonMapper
|
|||||||
import com.vitorpamplona.quartz.nip59Giftwrap.wraps.GiftWrapEvent
|
import com.vitorpamplona.quartz.nip59Giftwrap.wraps.GiftWrapEvent
|
||||||
|
|
||||||
class EventIndexesModule(
|
class EventIndexesModule(
|
||||||
val fts: FullTextSearchModule,
|
|
||||||
val hasher: (db: SQLiteDatabase) -> TagNameValueHasher,
|
val hasher: (db: SQLiteDatabase) -> TagNameValueHasher,
|
||||||
val tagIndexStrategy: IndexingStrategy = DefaultIndexingStrategy(),
|
val tagIndexStrategy: IndexingStrategy = DefaultIndexingStrategy(),
|
||||||
) : IModule {
|
) : IModule {
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@ class SQLiteEventStore(
|
|||||||
val seedModule = SeedModule()
|
val seedModule = SeedModule()
|
||||||
|
|
||||||
val fullTextSearchModule = FullTextSearchModule()
|
val fullTextSearchModule = FullTextSearchModule()
|
||||||
val eventIndexModule = EventIndexesModule(fullTextSearchModule, seedModule::hasher, tagIndexStrategy)
|
val eventIndexModule = EventIndexesModule(seedModule::hasher, tagIndexStrategy)
|
||||||
|
|
||||||
val replaceableModule = ReplaceableModule()
|
val replaceableModule = ReplaceableModule()
|
||||||
val addressableModule = AddressableModule()
|
val addressableModule = AddressableModule()
|
||||||
|
|||||||
Reference in New Issue
Block a user