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