示例#1
0
        public HashSet <string> GetFingerprintsForKeyword(string keyword)
        {
            Utilities.LockPerfTimer l1_clk = Utilities.LockPerfChecker.Start();
            lock (word_index_manager_lock)
            {
                l1_clk.LockPerfTimerStop();

                return(word_index_manager?.GetDocumentsWithWord(keyword) ?? new HashSet <string>());
            }
        }
 public HashSet <string> GetFingerprintsForKeyword(string keyword)
 {
     return(word_index_manager.GetDocumentsWithWord(keyword));
 }