protected MtgQueryParser(MtgAnalyzer analyzer, IDocumentAdapterBase adapter, string lang) : base(LuceneVersion.LUCENE_48, "*", analyzer) { _adapter = adapter; Language = lang; FuzzyMinSim = 0.5f; AllowLeadingWildcard = true; AutoGeneratePhraseQueries = true; }
public SearchResultHighlighter( ISearchSubsystemBase searchSubsystem, IDocumentAdapterBase adapter, IKeywordHighlighter keywordHighlighter) { _searchSubsystem = searchSubsystem; _adapter = adapter; _keywordHighlighter = keywordHighlighter; _analyzer = new MtgAnalyzer(adapter); }