diff src/lib/Db.luan @ 8:be36282b556a

add new_thread
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 29 Jun 2022 00:04:09 -0600
parents fc3ee39d7764
children de0cbf515ef5
line wrap: on
line diff
--- a/src/lib/Db.luan	Thu Jun 23 23:38:03 2022 -0600
+++ b/src/lib/Db.luan	Wed Jun 29 00:04:09 2022 -0600
@@ -12,4 +12,9 @@
 Db.indexed_fields.user_email = Lucene.type.lowercase
 Db.indexed_fields.user_name = Lucene.type.lowercase
 
+Db.indexed_fields.post_author_id = Lucene.type.long
+Db.indexed_fields.post_author_name = Lucene.type.string
+Db.indexed_fields.post_is_root = Lucene.type.string
+Db.indexed_fields.post_root_id = Lucene.type.long
+
 return Db