protected override Analyzer GetAnalyzer(Net.Util.Version version) { analyzer = new PerFieldAnalyzerWrapper(base.GetAnalyzer(version)); analyzer.AddAnalyzer <SampleDocument>(t => t.Id, new KeywordAnalyzer()); analyzer.AddAnalyzer <SampleDocument>(t => t.Key, new LowercaseKeywordAnalyzer()); return(analyzer); }
protected override Analyzer GetAnalyzer(Net.Util.Version version) { var analyzer = new PerFieldAnalyzerWrapper(base.GetAnalyzer(version)); analyzer.AddAnalyzer("Path", new LowercaseKeywordAnalyzer()); return(analyzer); }
protected override Analyzer GetAnalyzer(Net.Util.Version version) { return(new KeywordAnalyzer()); }
protected override Analyzer GetAnalyzer(Net.Util.Version version) { return(new CaseInsensitiveKeywordAnalyzer()); }
protected override Analysis.Analyzer GetAnalyzer(Net.Util.Version version) { return(new LowercaseKeywordAnalyzer()); }