diff --git a/src/rcldb/expansiondbs.cpp b/src/rcldb/expansiondbs.cpp index 82721cef..5df513e6 100644 --- a/src/rcldb/expansiondbs.cpp +++ b/src/rcldb/expansiondbs.cpp @@ -97,6 +97,8 @@ bool createExpansionDbs(Xapian::WritableDatabase& wdb, // Detect and skip CJK terms. Utf8Iter utfit(*it); + if (utfit.eof()) // Empty term?? Seems to happen. + continue; if (TextSplit::isCJK(*utfit)) { // LOGDEB(("stemskipped: Skipping CJK\n")); continue;