1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Js: Update references to mobile lib; change Add_core to Add_baselib

This commit is contained in:
gnosygnu
2017-03-18 08:06:13 -04:00
parent a4380b6d48
commit 5967c75433
6 changed files with 18 additions and 13 deletions

View File

@@ -71,7 +71,12 @@ public class Gflucene_highlighter_mgr {
// get token stream
String text = doc_data.body;
TokenStream tokenStream = analyzer.tokenStream("body", text);
TokenStream tokenStream = null;
try {
tokenStream = analyzer.tokenStream("body", text);
} catch (IOException e) {
throw Err_.new_exc(e, "lucene_index", "failed to get stream", "query", qry_data.query);
}
// get fragments from stream
TextFragment[] frags;