Mercurial Hosting > luan
diff lucene/src/luan/modules/lucene/LuceneWriter.java @ 432:d9df6d6cb927
finish fixing LuanTable to use metatables
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 02 May 2015 23:41:59 -0600 |
parents | dae264ad6a7b |
children | c5a93767cc5c |
line wrap: on
line diff
--- a/lucene/src/luan/modules/lucene/LuceneWriter.java Sat May 02 21:12:48 2015 -0600 +++ b/lucene/src/luan/modules/lucene/LuceneWriter.java Sat May 02 23:41:59 2015 -0600 @@ -41,7 +41,7 @@ public void delete_documents(LuanState luan,LuanTable tblTerms) throws LuanException, IOException { List<Term> list = new ArrayList<Term>(); - for( Map.Entry<Object,Object> entry : tblTerms ) { + for( Map.Entry<Object,Object> entry : tblTerms.iterable(luan) ) { Object key = entry.getKey(); Object value = entry.getValue(); if( !(key instanceof String) )