comparison src/luan/modules/lucene/Lucene.luan @ 1687:f48db13ae2d9

unlogged lucene support
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 09 Jun 2022 19:44:41 -0600
parents 46cf5137cb6b
children 2958cf04d844
comparison
equal deleted inserted replaced
1686:e34b73678a4f 1687:f48db13ae2d9
125 if not index.is_in_transaction() then 125 if not index.is_in_transaction() then
126 index.not_in_transaction() 126 index.not_in_transaction()
127 end 127 end
128 end 128 end
129 129
130 function index.save(doc) 130 function index.save(doc,unstored,boosts)
131 index.check_in_transaction() 131 index.check_in_transaction()
132 java_index.save(doc) 132 java_index.save(doc,unstored,boosts)
133 end 133 end
134 134
135 function index.search( query, from, to, options ) 135 function index.search( query, from, to, options )
136 from or error "missing 'from' parameter" 136 from or error "missing 'from' parameter"
137 to or error "missing 'to' parameter" 137 to or error "missing 'to' parameter"