Beispiel #1
0
        public int GetDocumentCountForKeyword(string keyword)
        {
            Utilities.LockPerfTimer l1_clk = Utilities.LockPerfChecker.Start();
            lock (word_index_manager_lock)
            {
                l1_clk.LockPerfTimerStop();

                return(word_index_manager?.GetDocumentCountForKeyword(keyword) ?? 0);
            }
        }
 public int GetDocumentCountForKeyword(string keyword)
 {
     return(word_index_manager.GetDocumentCountForKeyword(keyword));
 }