comparison src/lib/Db.luan @ 14:80105b716a62

start bot
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 31 Oct 2023 23:56:48 -0600
parents af2b95854072
children 74277b56ac3c
comparison
equal deleted inserted replaced
13:af2b95854072 14:80105b716a62
16 local Db = Lucene.index( dir, { 16 local Db = Lucene.index( dir, {
17 log_dir = uri("site:/private/local/lucene_log") 17 log_dir = uri("site:/private/local/lucene_log")
18 name = "lucene" 18 name = "lucene"
19 } ) 19 } )
20 20
21 Db.indexed_fields.server_discord_id = Lucene.type.string
21 Db.indexed_fields.server_owner_discord_id = Lucene.type.string 22 Db.indexed_fields.server_owner_discord_id = Lucene.type.string
22 23
23 function Db.not_in_transaction() 24 function Db.not_in_transaction()
24 logger.error(new_error("not in transaction")) 25 logger.error(new_error("not in transaction"))
25 end 26 end