Example #1
0
 public CardQueryParser(
     MtgAnalyzer analyzer,
     CardRepository repository,
     CardDocumentAdapter adapter,
     string language)
     : base(analyzer, adapter, language)
 {
     _repository = repository;
 }
Example #2
0
 public CardSpellchecker(CardRepository repo, CardDocumentAdapter adapter)
     : base(adapter)
 {
     IndexDirectoryParent = AppDir.Data.Join("index", "suggest");
     _repo = repo;
 }
Example #3
0
 public CardSearcher(CardRepository repository, CardDocumentAdapter adapter)
     : base(new CardSpellchecker(repository, adapter), adapter)
 {
     _repo = repository;
     IndexDirectoryParent = AppDir.Data.Join("index", "search");
 }
Example #4
0
 public CardSearcherState(CardDocumentAdapter adapter, CardRepository repo)
     : base(adapter)
 {
     _repo = repo;
 }