Esempio n. 1
0
 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);
        }
Esempio n. 3
0
 protected override Analyzer GetAnalyzer(Net.Util.Version version)
 {
     return(new KeywordAnalyzer());
 }
Esempio n. 4
0
 protected override Analyzer GetAnalyzer(Net.Util.Version version)
 {
     return(new CaseInsensitiveKeywordAnalyzer());
 }
 protected override Analysis.Analyzer GetAnalyzer(Net.Util.Version version)
 {
     return(new LowercaseKeywordAnalyzer());
 }