diff src/luan/modules/lucene/LuceneIndex.java @ 1447:851b9a48cc44

Luan.parse
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 18 Feb 2020 14:54:35 -0700
parents 3aae37efbf40
children 928be2a4d565
line wrap: on
line diff
--- a/src/luan/modules/lucene/LuceneIndex.java	Tue Feb 11 13:38:55 2020 -0700
+++ b/src/luan/modules/lucene/LuceneIndex.java	Tue Feb 18 14:54:35 2020 -0700
@@ -846,7 +846,7 @@
 	}
 
 	public void restore_from_postgres()
-		throws IOException, LuanException, SQLException
+		throws IOException, LuanException, SQLException, ParseException
 	{
 		if( postgresBackup!=null && wasCreated && !postgresBackup.wasCreated ) {
 			luanLogger.error("restoring from postgres");
@@ -855,7 +855,7 @@
 	}
 
 	public void force_restore_from_postgres()
-		throws IOException, LuanException, SQLException
+		throws IOException, LuanException, SQLException, ParseException
 	{
 		luanLogger.warn("start restore_from_postgres");
 		if( postgresBackup==null )
@@ -890,7 +890,7 @@
 		writer.addDocument(toLucene(doc,null));
 	}
 
-	public void check(LuanFunction completer) throws IOException, SQLException, LuanException {
+	public void check(LuanFunction completer) throws IOException, SQLException, LuanException, ParseException {
 		boolean hasPostgres = postgresBackup != null;
 		String msg = "start check";
 		if( hasPostgres )
@@ -905,7 +905,7 @@
 	}
 
 	private void checkPostgres(LuanFunction completer)
-		throws IOException, SQLException, LuanException
+		throws IOException, SQLException, LuanException, ParseException
 	{
 		//luanLogger.info("start postgres check");
 		final PostgresBackup.Checker postgresChecker = postgresBackup.newChecker();
@@ -968,7 +968,7 @@
 	}
 
 	private void checkPostgres(LuanFunction completer,PostgresBackup.Checker postgresChecker,LuanToString lts,long id)
-		throws IOException, SQLException, LuanException
+		throws IOException, SQLException, LuanException, ParseException
 	{
 		//luanLogger.info("check id "+id);
 		writeLock.lock();