I have Laserfiche Client 8.3 installed on my computer. I use LFSO80Lib reference.
This is part of my code,
- private LFDatabase db;
- db.ReindexSearchbase(false);
- LFSearch search = db.CreateSearch();
- search.Command = "xxx";
-
search.BeginSearch(true);
- ILFCollection hits = search.GetSearchHits();
No matter I use true or false ReindexSearchbase always causes error.
"The search engine encountered an internal error. Please check the search engine error log for more details."
It works if I comment out the ReindexSearchbase line. But the returned search result, hits, is not sorted.
It worked when I had Laserfiche Client 8.1 and use LFSO82Lib reference.
Does anyone know how to fix this error?