Esempio n. 1
0
 public static TextPropertyDescriptor <dynamic> DmpNgramAnalyzer(this TextPropertyDescriptor <dynamic> tt)
 {
     return(tt
            .Name(Strings.Ngrams)
            .Analyzer(Strings.DmpNgramAnalyzer)
            .SearchAnalyzer(Strings.DmpStandardEnglish));
 }
Esempio n. 2
0
 public static ITextProperty TextProperty(TextPropertyDescriptor <Document> property) => property
 .Name(x => x.Text)
 .Analyzer("english_russian")
 .Store();
Esempio n. 3
0
 public static ITextProperty TitleProperty(TextPropertyDescriptor <Document> property) => property
 .Name(x => x.Title)
 .Analyzer("english_russian")
 .Boost(3);