Exemple #1
0
 public Searcher(string dir)
 {
     _reader = new IndexReader(new Scanner(dir));
     _parser = new QueryParser(new Analyzer());
 }
Exemple #2
0
 public Searcher(IndexReader reader, QueryParser parser)
 {
     _reader = reader;
     _parser = parser;
 }