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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user