comparison src/lib/Db.luan @ 10:de0cbf515ef5

remove author_id
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 30 Jun 2022 11:11:00 -0600
parents be36282b556a
children 0edde02b908c
comparison
equal deleted inserted replaced
9:9674275019bb 10:de0cbf515ef5
10 local Db = Lucene.index( dir, {} ) 10 local Db = Lucene.index( dir, {} )
11 11
12 Db.indexed_fields.user_email = Lucene.type.lowercase 12 Db.indexed_fields.user_email = Lucene.type.lowercase
13 Db.indexed_fields.user_name = Lucene.type.lowercase 13 Db.indexed_fields.user_name = Lucene.type.lowercase
14 14
15 Db.indexed_fields.post_author_id = Lucene.type.long
16 Db.indexed_fields.post_author_name = Lucene.type.string 15 Db.indexed_fields.post_author_name = Lucene.type.string
17 Db.indexed_fields.post_is_root = Lucene.type.string 16 Db.indexed_fields.post_is_root = Lucene.type.string
18 Db.indexed_fields.post_root_id = Lucene.type.long 17 Db.indexed_fields.post_root_id = Lucene.type.long
19 18
20 return Db 19 return Db