Mercurial Hosting > luan
diff src/luan/modules/lucene/PostgresBackup.java @ 1528:3bd4d7963456
use goodjava/lucene/api
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 26 Jul 2020 23:11:53 -0600 |
parents | 219f2b937f2b |
children | c27dc6af87ca |
line wrap: on
line diff
--- a/src/luan/modules/lucene/PostgresBackup.java Sun Jul 26 15:06:15 2020 -0600 +++ b/src/luan/modules/lucene/PostgresBackup.java Sun Jul 26 23:11:53 2020 -0600 @@ -155,7 +155,7 @@ con.setAutoCommit(true); } - void restoreLucene(LuceneIndex li,LuanFunction completer) + void restoreLucene(LuceneIndex li) throws LuanException, IOException, SQLException, ParseException { Luan luan = new Luan(); @@ -164,7 +164,7 @@ while( rs.next() ) { String data = rs.getString("data"); LuanTable doc = (LuanTable)LuanParser.parse(luan,data); - li.restore(completer,doc); + li.restore(doc); } stmt.close(); }