hightman / xunsearch

免费开源的中文搜索引擎,采用 C/C++ 编写 (基于 xapian 和 scws),提供 PHP 的开发接口和丰富文档
http://www.xunsearch.com
Other
1.64k stars 391 forks source link

你好,使用xunsearch 1.4.17 过程中出现下面的问题 #144

Open zhishufei opened 1 year ago

zhishufei commented 1 year ago

启动和重启日志中 13:09:11 logging[15160] ALERT >> running in scan mode (HOME:data/, STAT_TAG:2023-W22) 13:09:11 logging[15161] ALERT >> begin child process (NAME:manhua) << terminate called after throwing an instance of 'Xapian::DatabaseCorruptError' 2023-06-02 13:09:12 indexd[12030] ERROR failed to find db by pid (PID:15160)

temp php调用搜索 日志出现: 2023-06-02 14:56:10 worker1[12038] ERROR [sock:7] xapian exception on sending doc (ERROR:The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation) 2023-06-02 14:56:10 worker1[12038] ERROR [sock:7] xapian exception on sending doc (ERROR:The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation) 2023-06-02 14:56:12 worker2[12039] ERROR [sock:7] xapian exception on sending doc (ERROR:The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation) 2023-06-02 14:56:12 worker2[12039] ERROR [sock:7] xapian exception on sending doc (ERROR:The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation) 2023-06-02 14:56:12 worker2[12039] ERROR [sock:7] xapian exception on sending doc (ERROR:The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation)

这个是什么原因