| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | | using System.ComponentModel; |
| | 10 | |
|
| | 11 | | namespace Azure.Search.Documents.Indexes.Models |
| | 12 | | { |
| | 13 | | /// <summary> Defines the names of all text analyzers supported by Azure Cognitive Search. </summary> |
| | 14 | | public readonly partial struct LexicalAnalyzerName : IEquatable<LexicalAnalyzerName> |
| | 15 | | { |
| | 16 | | private readonly string _value; |
| | 17 | |
|
| | 18 | | /// <summary> Determines if two <see cref="LexicalAnalyzerName"/> values are the same. </summary> |
| | 19 | | /// <exception cref="ArgumentNullException"> <paramref name="value"/> is null. </exception> |
| | 20 | | public LexicalAnalyzerName(string value) |
| | 21 | | { |
| 2085 | 22 | | _value = value ?? throw new ArgumentNullException(nameof(value)); |
| 2085 | 23 | | } |
| | 24 | |
|
| | 25 | | private const string ArMicrosoftValue = "ar.microsoft"; |
| | 26 | | private const string ArLuceneValue = "ar.lucene"; |
| | 27 | | private const string HyLuceneValue = "hy.lucene"; |
| | 28 | | private const string BnMicrosoftValue = "bn.microsoft"; |
| | 29 | | private const string EuLuceneValue = "eu.lucene"; |
| | 30 | | private const string BgMicrosoftValue = "bg.microsoft"; |
| | 31 | | private const string BgLuceneValue = "bg.lucene"; |
| | 32 | | private const string CaMicrosoftValue = "ca.microsoft"; |
| | 33 | | private const string CaLuceneValue = "ca.lucene"; |
| | 34 | | private const string ZhHansMicrosoftValue = "zh-Hans.microsoft"; |
| | 35 | | private const string ZhHansLuceneValue = "zh-Hans.lucene"; |
| | 36 | | private const string ZhHantMicrosoftValue = "zh-Hant.microsoft"; |
| | 37 | | private const string ZhHantLuceneValue = "zh-Hant.lucene"; |
| | 38 | | private const string HrMicrosoftValue = "hr.microsoft"; |
| | 39 | | private const string CsMicrosoftValue = "cs.microsoft"; |
| | 40 | | private const string CsLuceneValue = "cs.lucene"; |
| | 41 | | private const string DaMicrosoftValue = "da.microsoft"; |
| | 42 | | private const string DaLuceneValue = "da.lucene"; |
| | 43 | | private const string NlMicrosoftValue = "nl.microsoft"; |
| | 44 | | private const string NlLuceneValue = "nl.lucene"; |
| | 45 | | private const string EnMicrosoftValue = "en.microsoft"; |
| | 46 | | private const string EnLuceneValue = "en.lucene"; |
| | 47 | | private const string EtMicrosoftValue = "et.microsoft"; |
| | 48 | | private const string FiMicrosoftValue = "fi.microsoft"; |
| | 49 | | private const string FiLuceneValue = "fi.lucene"; |
| | 50 | | private const string FrMicrosoftValue = "fr.microsoft"; |
| | 51 | | private const string FrLuceneValue = "fr.lucene"; |
| | 52 | | private const string GlLuceneValue = "gl.lucene"; |
| | 53 | | private const string DeMicrosoftValue = "de.microsoft"; |
| | 54 | | private const string DeLuceneValue = "de.lucene"; |
| | 55 | | private const string ElMicrosoftValue = "el.microsoft"; |
| | 56 | | private const string ElLuceneValue = "el.lucene"; |
| | 57 | | private const string GuMicrosoftValue = "gu.microsoft"; |
| | 58 | | private const string HeMicrosoftValue = "he.microsoft"; |
| | 59 | | private const string HiMicrosoftValue = "hi.microsoft"; |
| | 60 | | private const string HiLuceneValue = "hi.lucene"; |
| | 61 | | private const string HuMicrosoftValue = "hu.microsoft"; |
| | 62 | | private const string HuLuceneValue = "hu.lucene"; |
| | 63 | | private const string IsMicrosoftValue = "is.microsoft"; |
| | 64 | | private const string IdMicrosoftValue = "id.microsoft"; |
| | 65 | | private const string IdLuceneValue = "id.lucene"; |
| | 66 | | private const string GaLuceneValue = "ga.lucene"; |
| | 67 | | private const string ItMicrosoftValue = "it.microsoft"; |
| | 68 | | private const string ItLuceneValue = "it.lucene"; |
| | 69 | | private const string JaMicrosoftValue = "ja.microsoft"; |
| | 70 | | private const string JaLuceneValue = "ja.lucene"; |
| | 71 | | private const string KnMicrosoftValue = "kn.microsoft"; |
| | 72 | | private const string KoMicrosoftValue = "ko.microsoft"; |
| | 73 | | private const string KoLuceneValue = "ko.lucene"; |
| | 74 | | private const string LvMicrosoftValue = "lv.microsoft"; |
| | 75 | | private const string LvLuceneValue = "lv.lucene"; |
| | 76 | | private const string LtMicrosoftValue = "lt.microsoft"; |
| | 77 | | private const string MlMicrosoftValue = "ml.microsoft"; |
| | 78 | | private const string MsMicrosoftValue = "ms.microsoft"; |
| | 79 | | private const string MrMicrosoftValue = "mr.microsoft"; |
| | 80 | | private const string NbMicrosoftValue = "nb.microsoft"; |
| | 81 | | private const string NoLuceneValue = "no.lucene"; |
| | 82 | | private const string FaLuceneValue = "fa.lucene"; |
| | 83 | | private const string PlMicrosoftValue = "pl.microsoft"; |
| | 84 | | private const string PlLuceneValue = "pl.lucene"; |
| | 85 | | private const string PtBrMicrosoftValue = "pt-BR.microsoft"; |
| | 86 | | private const string PtBrLuceneValue = "pt-BR.lucene"; |
| | 87 | | private const string PtPtMicrosoftValue = "pt-PT.microsoft"; |
| | 88 | | private const string PtPtLuceneValue = "pt-PT.lucene"; |
| | 89 | | private const string PaMicrosoftValue = "pa.microsoft"; |
| | 90 | | private const string RoMicrosoftValue = "ro.microsoft"; |
| | 91 | | private const string RoLuceneValue = "ro.lucene"; |
| | 92 | | private const string RuMicrosoftValue = "ru.microsoft"; |
| | 93 | | private const string RuLuceneValue = "ru.lucene"; |
| | 94 | | private const string SrCyrillicMicrosoftValue = "sr-cyrillic.microsoft"; |
| | 95 | | private const string SrLatinMicrosoftValue = "sr-latin.microsoft"; |
| | 96 | | private const string SkMicrosoftValue = "sk.microsoft"; |
| | 97 | | private const string SlMicrosoftValue = "sl.microsoft"; |
| | 98 | | private const string EsMicrosoftValue = "es.microsoft"; |
| | 99 | | private const string EsLuceneValue = "es.lucene"; |
| | 100 | | private const string SvMicrosoftValue = "sv.microsoft"; |
| | 101 | | private const string SvLuceneValue = "sv.lucene"; |
| | 102 | | private const string TaMicrosoftValue = "ta.microsoft"; |
| | 103 | | private const string TeMicrosoftValue = "te.microsoft"; |
| | 104 | | private const string ThMicrosoftValue = "th.microsoft"; |
| | 105 | | private const string ThLuceneValue = "th.lucene"; |
| | 106 | | private const string TrMicrosoftValue = "tr.microsoft"; |
| | 107 | | private const string TrLuceneValue = "tr.lucene"; |
| | 108 | | private const string UkMicrosoftValue = "uk.microsoft"; |
| | 109 | | private const string UrMicrosoftValue = "ur.microsoft"; |
| | 110 | | private const string ViMicrosoftValue = "vi.microsoft"; |
| | 111 | | private const string StandardLuceneValue = "standard.lucene"; |
| | 112 | | private const string StandardAsciiFoldingLuceneValue = "standardasciifolding.lucene"; |
| | 113 | | private const string KeywordValue = "keyword"; |
| | 114 | | private const string PatternValue = "pattern"; |
| | 115 | | private const string SimpleValue = "simple"; |
| | 116 | | private const string StopValue = "stop"; |
| | 117 | | private const string WhitespaceValue = "whitespace"; |
| | 118 | |
|
| | 119 | | /// <summary> Microsoft analyzer for Arabic. </summary> |
| 2 | 120 | | public static LexicalAnalyzerName ArMicrosoft { get; } = new LexicalAnalyzerName(ArMicrosoftValue); |
| | 121 | | /// <summary> Lucene analyzer for Arabic. </summary> |
| 2 | 122 | | public static LexicalAnalyzerName ArLucene { get; } = new LexicalAnalyzerName(ArLuceneValue); |
| | 123 | | /// <summary> Lucene analyzer for Armenian. </summary> |
| 2 | 124 | | public static LexicalAnalyzerName HyLucene { get; } = new LexicalAnalyzerName(HyLuceneValue); |
| | 125 | | /// <summary> Microsoft analyzer for Bangla. </summary> |
| 2 | 126 | | public static LexicalAnalyzerName BnMicrosoft { get; } = new LexicalAnalyzerName(BnMicrosoftValue); |
| | 127 | | /// <summary> Lucene analyzer for Basque. </summary> |
| 2 | 128 | | public static LexicalAnalyzerName EuLucene { get; } = new LexicalAnalyzerName(EuLuceneValue); |
| | 129 | | /// <summary> Microsoft analyzer for Bulgarian. </summary> |
| 2 | 130 | | public static LexicalAnalyzerName BgMicrosoft { get; } = new LexicalAnalyzerName(BgMicrosoftValue); |
| | 131 | | /// <summary> Lucene analyzer for Bulgarian. </summary> |
| 2 | 132 | | public static LexicalAnalyzerName BgLucene { get; } = new LexicalAnalyzerName(BgLuceneValue); |
| | 133 | | /// <summary> Microsoft analyzer for Catalan. </summary> |
| 2 | 134 | | public static LexicalAnalyzerName CaMicrosoft { get; } = new LexicalAnalyzerName(CaMicrosoftValue); |
| | 135 | | /// <summary> Lucene analyzer for Catalan. </summary> |
| 2 | 136 | | public static LexicalAnalyzerName CaLucene { get; } = new LexicalAnalyzerName(CaLuceneValue); |
| | 137 | | /// <summary> Microsoft analyzer for Chinese (Simplified). </summary> |
| 2 | 138 | | public static LexicalAnalyzerName ZhHansMicrosoft { get; } = new LexicalAnalyzerName(ZhHansMicrosoftValue); |
| | 139 | | /// <summary> Lucene analyzer for Chinese (Simplified). </summary> |
| 2 | 140 | | public static LexicalAnalyzerName ZhHansLucene { get; } = new LexicalAnalyzerName(ZhHansLuceneValue); |
| | 141 | | /// <summary> Microsoft analyzer for Chinese (Traditional). </summary> |
| 2 | 142 | | public static LexicalAnalyzerName ZhHantMicrosoft { get; } = new LexicalAnalyzerName(ZhHantMicrosoftValue); |
| | 143 | | /// <summary> Lucene analyzer for Chinese (Traditional). </summary> |
| 2 | 144 | | public static LexicalAnalyzerName ZhHantLucene { get; } = new LexicalAnalyzerName(ZhHantLuceneValue); |
| | 145 | | /// <summary> Microsoft analyzer for Croatian. </summary> |
| 2 | 146 | | public static LexicalAnalyzerName HrMicrosoft { get; } = new LexicalAnalyzerName(HrMicrosoftValue); |
| | 147 | | /// <summary> Microsoft analyzer for Czech. </summary> |
| 2 | 148 | | public static LexicalAnalyzerName CsMicrosoft { get; } = new LexicalAnalyzerName(CsMicrosoftValue); |
| | 149 | | /// <summary> Lucene analyzer for Czech. </summary> |
| 2 | 150 | | public static LexicalAnalyzerName CsLucene { get; } = new LexicalAnalyzerName(CsLuceneValue); |
| | 151 | | /// <summary> Microsoft analyzer for Danish. </summary> |
| 2 | 152 | | public static LexicalAnalyzerName DaMicrosoft { get; } = new LexicalAnalyzerName(DaMicrosoftValue); |
| | 153 | | /// <summary> Lucene analyzer for Danish. </summary> |
| 2 | 154 | | public static LexicalAnalyzerName DaLucene { get; } = new LexicalAnalyzerName(DaLuceneValue); |
| | 155 | | /// <summary> Microsoft analyzer for Dutch. </summary> |
| 2 | 156 | | public static LexicalAnalyzerName NlMicrosoft { get; } = new LexicalAnalyzerName(NlMicrosoftValue); |
| | 157 | | /// <summary> Lucene analyzer for Dutch. </summary> |
| 2 | 158 | | public static LexicalAnalyzerName NlLucene { get; } = new LexicalAnalyzerName(NlLuceneValue); |
| | 159 | | /// <summary> Microsoft analyzer for English. </summary> |
| 300 | 160 | | public static LexicalAnalyzerName EnMicrosoft { get; } = new LexicalAnalyzerName(EnMicrosoftValue); |
| | 161 | | /// <summary> Lucene analyzer for English. </summary> |
| 14 | 162 | | public static LexicalAnalyzerName EnLucene { get; } = new LexicalAnalyzerName(EnLuceneValue); |
| | 163 | | /// <summary> Microsoft analyzer for Estonian. </summary> |
| 2 | 164 | | public static LexicalAnalyzerName EtMicrosoft { get; } = new LexicalAnalyzerName(EtMicrosoftValue); |
| | 165 | | /// <summary> Microsoft analyzer for Finnish. </summary> |
| 2 | 166 | | public static LexicalAnalyzerName FiMicrosoft { get; } = new LexicalAnalyzerName(FiMicrosoftValue); |
| | 167 | | /// <summary> Lucene analyzer for Finnish. </summary> |
| 2 | 168 | | public static LexicalAnalyzerName FiLucene { get; } = new LexicalAnalyzerName(FiLuceneValue); |
| | 169 | | /// <summary> Microsoft analyzer for French. </summary> |
| 2 | 170 | | public static LexicalAnalyzerName FrMicrosoft { get; } = new LexicalAnalyzerName(FrMicrosoftValue); |
| | 171 | | /// <summary> Lucene analyzer for French. </summary> |
| 11 | 172 | | public static LexicalAnalyzerName FrLucene { get; } = new LexicalAnalyzerName(FrLuceneValue); |
| | 173 | | /// <summary> Lucene analyzer for Galician. </summary> |
| 2 | 174 | | public static LexicalAnalyzerName GlLucene { get; } = new LexicalAnalyzerName(GlLuceneValue); |
| | 175 | | /// <summary> Microsoft analyzer for German. </summary> |
| 2 | 176 | | public static LexicalAnalyzerName DeMicrosoft { get; } = new LexicalAnalyzerName(DeMicrosoftValue); |
| | 177 | | /// <summary> Lucene analyzer for German. </summary> |
| 2 | 178 | | public static LexicalAnalyzerName DeLucene { get; } = new LexicalAnalyzerName(DeLuceneValue); |
| | 179 | | /// <summary> Microsoft analyzer for Greek. </summary> |
| 2 | 180 | | public static LexicalAnalyzerName ElMicrosoft { get; } = new LexicalAnalyzerName(ElMicrosoftValue); |
| | 181 | | /// <summary> Lucene analyzer for Greek. </summary> |
| 2 | 182 | | public static LexicalAnalyzerName ElLucene { get; } = new LexicalAnalyzerName(ElLuceneValue); |
| | 183 | | /// <summary> Microsoft analyzer for Gujarati. </summary> |
| 2 | 184 | | public static LexicalAnalyzerName GuMicrosoft { get; } = new LexicalAnalyzerName(GuMicrosoftValue); |
| | 185 | | /// <summary> Microsoft analyzer for Hebrew. </summary> |
| 2 | 186 | | public static LexicalAnalyzerName HeMicrosoft { get; } = new LexicalAnalyzerName(HeMicrosoftValue); |
| | 187 | | /// <summary> Microsoft analyzer for Hindi. </summary> |
| 2 | 188 | | public static LexicalAnalyzerName HiMicrosoft { get; } = new LexicalAnalyzerName(HiMicrosoftValue); |
| | 189 | | /// <summary> Lucene analyzer for Hindi. </summary> |
| 2 | 190 | | public static LexicalAnalyzerName HiLucene { get; } = new LexicalAnalyzerName(HiLuceneValue); |
| | 191 | | /// <summary> Microsoft analyzer for Hungarian. </summary> |
| 2 | 192 | | public static LexicalAnalyzerName HuMicrosoft { get; } = new LexicalAnalyzerName(HuMicrosoftValue); |
| | 193 | | /// <summary> Lucene analyzer for Hungarian. </summary> |
| 2 | 194 | | public static LexicalAnalyzerName HuLucene { get; } = new LexicalAnalyzerName(HuLuceneValue); |
| | 195 | | /// <summary> Microsoft analyzer for Icelandic. </summary> |
| 2 | 196 | | public static LexicalAnalyzerName IsMicrosoft { get; } = new LexicalAnalyzerName(IsMicrosoftValue); |
| | 197 | | /// <summary> Microsoft analyzer for Indonesian (Bahasa). </summary> |
| 2 | 198 | | public static LexicalAnalyzerName IdMicrosoft { get; } = new LexicalAnalyzerName(IdMicrosoftValue); |
| | 199 | | /// <summary> Lucene analyzer for Indonesian. </summary> |
| 2 | 200 | | public static LexicalAnalyzerName IdLucene { get; } = new LexicalAnalyzerName(IdLuceneValue); |
| | 201 | | /// <summary> Lucene analyzer for Irish. </summary> |
| 2 | 202 | | public static LexicalAnalyzerName GaLucene { get; } = new LexicalAnalyzerName(GaLuceneValue); |
| | 203 | | /// <summary> Microsoft analyzer for Italian. </summary> |
| 2 | 204 | | public static LexicalAnalyzerName ItMicrosoft { get; } = new LexicalAnalyzerName(ItMicrosoftValue); |
| | 205 | | /// <summary> Lucene analyzer for Italian. </summary> |
| 2 | 206 | | public static LexicalAnalyzerName ItLucene { get; } = new LexicalAnalyzerName(ItLuceneValue); |
| | 207 | | /// <summary> Microsoft analyzer for Japanese. </summary> |
| 2 | 208 | | public static LexicalAnalyzerName JaMicrosoft { get; } = new LexicalAnalyzerName(JaMicrosoftValue); |
| | 209 | | /// <summary> Lucene analyzer for Japanese. </summary> |
| 2 | 210 | | public static LexicalAnalyzerName JaLucene { get; } = new LexicalAnalyzerName(JaLuceneValue); |
| | 211 | | /// <summary> Microsoft analyzer for Kannada. </summary> |
| 2 | 212 | | public static LexicalAnalyzerName KnMicrosoft { get; } = new LexicalAnalyzerName(KnMicrosoftValue); |
| | 213 | | /// <summary> Microsoft analyzer for Korean. </summary> |
| 2 | 214 | | public static LexicalAnalyzerName KoMicrosoft { get; } = new LexicalAnalyzerName(KoMicrosoftValue); |
| | 215 | | /// <summary> Lucene analyzer for Korean. </summary> |
| 2 | 216 | | public static LexicalAnalyzerName KoLucene { get; } = new LexicalAnalyzerName(KoLuceneValue); |
| | 217 | | /// <summary> Microsoft analyzer for Latvian. </summary> |
| 2 | 218 | | public static LexicalAnalyzerName LvMicrosoft { get; } = new LexicalAnalyzerName(LvMicrosoftValue); |
| | 219 | | /// <summary> Lucene analyzer for Latvian. </summary> |
| 2 | 220 | | public static LexicalAnalyzerName LvLucene { get; } = new LexicalAnalyzerName(LvLuceneValue); |
| | 221 | | /// <summary> Microsoft analyzer for Lithuanian. </summary> |
| 2 | 222 | | public static LexicalAnalyzerName LtMicrosoft { get; } = new LexicalAnalyzerName(LtMicrosoftValue); |
| | 223 | | /// <summary> Microsoft analyzer for Malayalam. </summary> |
| 2 | 224 | | public static LexicalAnalyzerName MlMicrosoft { get; } = new LexicalAnalyzerName(MlMicrosoftValue); |
| | 225 | | /// <summary> Microsoft analyzer for Malay (Latin). </summary> |
| 2 | 226 | | public static LexicalAnalyzerName MsMicrosoft { get; } = new LexicalAnalyzerName(MsMicrosoftValue); |
| | 227 | | /// <summary> Microsoft analyzer for Marathi. </summary> |
| 2 | 228 | | public static LexicalAnalyzerName MrMicrosoft { get; } = new LexicalAnalyzerName(MrMicrosoftValue); |
| | 229 | | /// <summary> Microsoft analyzer for Norwegian (Bokmål). </summary> |
| 2 | 230 | | public static LexicalAnalyzerName NbMicrosoft { get; } = new LexicalAnalyzerName(NbMicrosoftValue); |
| | 231 | | /// <summary> Lucene analyzer for Norwegian. </summary> |
| 2 | 232 | | public static LexicalAnalyzerName NoLucene { get; } = new LexicalAnalyzerName(NoLuceneValue); |
| | 233 | | /// <summary> Lucene analyzer for Persian. </summary> |
| 2 | 234 | | public static LexicalAnalyzerName FaLucene { get; } = new LexicalAnalyzerName(FaLuceneValue); |
| | 235 | | /// <summary> Microsoft analyzer for Polish. </summary> |
| 2 | 236 | | public static LexicalAnalyzerName PlMicrosoft { get; } = new LexicalAnalyzerName(PlMicrosoftValue); |
| | 237 | | /// <summary> Lucene analyzer for Polish. </summary> |
| 2 | 238 | | public static LexicalAnalyzerName PlLucene { get; } = new LexicalAnalyzerName(PlLuceneValue); |
| | 239 | | /// <summary> Microsoft analyzer for Portuguese (Brazil). </summary> |
| 2 | 240 | | public static LexicalAnalyzerName PtBrMicrosoft { get; } = new LexicalAnalyzerName(PtBrMicrosoftValue); |
| | 241 | | /// <summary> Lucene analyzer for Portuguese (Brazil). </summary> |
| 2 | 242 | | public static LexicalAnalyzerName PtBrLucene { get; } = new LexicalAnalyzerName(PtBrLuceneValue); |
| | 243 | | /// <summary> Microsoft analyzer for Portuguese (Portugal). </summary> |
| 2 | 244 | | public static LexicalAnalyzerName PtPtMicrosoft { get; } = new LexicalAnalyzerName(PtPtMicrosoftValue); |
| | 245 | | /// <summary> Lucene analyzer for Portuguese (Portugal). </summary> |
| 2 | 246 | | public static LexicalAnalyzerName PtPtLucene { get; } = new LexicalAnalyzerName(PtPtLuceneValue); |
| | 247 | | /// <summary> Microsoft analyzer for Punjabi. </summary> |
| 2 | 248 | | public static LexicalAnalyzerName PaMicrosoft { get; } = new LexicalAnalyzerName(PaMicrosoftValue); |
| | 249 | | /// <summary> Microsoft analyzer for Romanian. </summary> |
| 2 | 250 | | public static LexicalAnalyzerName RoMicrosoft { get; } = new LexicalAnalyzerName(RoMicrosoftValue); |
| | 251 | | /// <summary> Lucene analyzer for Romanian. </summary> |
| 2 | 252 | | public static LexicalAnalyzerName RoLucene { get; } = new LexicalAnalyzerName(RoLuceneValue); |
| | 253 | | /// <summary> Microsoft analyzer for Russian. </summary> |
| 2 | 254 | | public static LexicalAnalyzerName RuMicrosoft { get; } = new LexicalAnalyzerName(RuMicrosoftValue); |
| | 255 | | /// <summary> Lucene analyzer for Russian. </summary> |
| 2 | 256 | | public static LexicalAnalyzerName RuLucene { get; } = new LexicalAnalyzerName(RuLuceneValue); |
| | 257 | | /// <summary> Microsoft analyzer for Serbian (Cyrillic). </summary> |
| 2 | 258 | | public static LexicalAnalyzerName SrCyrillicMicrosoft { get; } = new LexicalAnalyzerName(SrCyrillicMicrosoftValu |
| | 259 | | /// <summary> Microsoft analyzer for Serbian (Latin). </summary> |
| 2 | 260 | | public static LexicalAnalyzerName SrLatinMicrosoft { get; } = new LexicalAnalyzerName(SrLatinMicrosoftValue); |
| | 261 | | /// <summary> Microsoft analyzer for Slovak. </summary> |
| 2 | 262 | | public static LexicalAnalyzerName SkMicrosoft { get; } = new LexicalAnalyzerName(SkMicrosoftValue); |
| | 263 | | /// <summary> Microsoft analyzer for Slovenian. </summary> |
| 2 | 264 | | public static LexicalAnalyzerName SlMicrosoft { get; } = new LexicalAnalyzerName(SlMicrosoftValue); |
| | 265 | | /// <summary> Microsoft analyzer for Spanish. </summary> |
| 2 | 266 | | public static LexicalAnalyzerName EsMicrosoft { get; } = new LexicalAnalyzerName(EsMicrosoftValue); |
| | 267 | | /// <summary> Lucene analyzer for Spanish. </summary> |
| 300 | 268 | | public static LexicalAnalyzerName EsLucene { get; } = new LexicalAnalyzerName(EsLuceneValue); |
| | 269 | | /// <summary> Microsoft analyzer for Swedish. </summary> |
| 2 | 270 | | public static LexicalAnalyzerName SvMicrosoft { get; } = new LexicalAnalyzerName(SvMicrosoftValue); |
| | 271 | | /// <summary> Lucene analyzer for Swedish. </summary> |
| 2 | 272 | | public static LexicalAnalyzerName SvLucene { get; } = new LexicalAnalyzerName(SvLuceneValue); |
| | 273 | | /// <summary> Microsoft analyzer for Tamil. </summary> |
| 2 | 274 | | public static LexicalAnalyzerName TaMicrosoft { get; } = new LexicalAnalyzerName(TaMicrosoftValue); |
| | 275 | | /// <summary> Microsoft analyzer for Telugu. </summary> |
| 2 | 276 | | public static LexicalAnalyzerName TeMicrosoft { get; } = new LexicalAnalyzerName(TeMicrosoftValue); |
| | 277 | | /// <summary> Microsoft analyzer for Thai. </summary> |
| 2 | 278 | | public static LexicalAnalyzerName ThMicrosoft { get; } = new LexicalAnalyzerName(ThMicrosoftValue); |
| | 279 | | /// <summary> Lucene analyzer for Thai. </summary> |
| 2 | 280 | | public static LexicalAnalyzerName ThLucene { get; } = new LexicalAnalyzerName(ThLuceneValue); |
| | 281 | | /// <summary> Microsoft analyzer for Turkish. </summary> |
| 2 | 282 | | public static LexicalAnalyzerName TrMicrosoft { get; } = new LexicalAnalyzerName(TrMicrosoftValue); |
| | 283 | | /// <summary> Lucene analyzer for Turkish. </summary> |
| 2 | 284 | | public static LexicalAnalyzerName TrLucene { get; } = new LexicalAnalyzerName(TrLuceneValue); |
| | 285 | | /// <summary> Microsoft analyzer for Ukrainian. </summary> |
| 2 | 286 | | public static LexicalAnalyzerName UkMicrosoft { get; } = new LexicalAnalyzerName(UkMicrosoftValue); |
| | 287 | | /// <summary> Microsoft analyzer for Urdu. </summary> |
| 2 | 288 | | public static LexicalAnalyzerName UrMicrosoft { get; } = new LexicalAnalyzerName(UrMicrosoftValue); |
| | 289 | | /// <summary> Microsoft analyzer for Vietnamese. </summary> |
| 2 | 290 | | public static LexicalAnalyzerName ViMicrosoft { get; } = new LexicalAnalyzerName(ViMicrosoftValue); |
| | 291 | | /// <summary> Standard Lucene analyzer. </summary> |
| 2 | 292 | | public static LexicalAnalyzerName StandardLucene { get; } = new LexicalAnalyzerName(StandardLuceneValue); |
| | 293 | | /// <summary> Standard ASCII Folding Lucene analyzer. See https://docs.microsoft.com/rest/api/searchservice/Cust |
| 2 | 294 | | public static LexicalAnalyzerName StandardAsciiFoldingLucene { get; } = new LexicalAnalyzerName(StandardAsciiFol |
| | 295 | | /// <summary> Treats the entire content of a field as a single token. This is useful for data like zip codes, id |
| 2 | 296 | | public static LexicalAnalyzerName Keyword { get; } = new LexicalAnalyzerName(KeywordValue); |
| | 297 | | /// <summary> Flexibly separates text into terms via a regular expression pattern. See http://lucene.apache.org/ |
| 2 | 298 | | public static LexicalAnalyzerName Pattern { get; } = new LexicalAnalyzerName(PatternValue); |
| | 299 | | /// <summary> Divides text at non-letters and converts them to lower case. See http://lucene.apache.org/core/4_1 |
| 2 | 300 | | public static LexicalAnalyzerName Simple { get; } = new LexicalAnalyzerName(SimpleValue); |
| | 301 | | /// <summary> Divides text at non-letters; Applies the lowercase and stopword token filters. See http://lucene.a |
| 2 | 302 | | public static LexicalAnalyzerName Stop { get; } = new LexicalAnalyzerName(StopValue); |
| | 303 | | /// <summary> An analyzer that uses the whitespace tokenizer. See http://lucene.apache.org/core/4_10_3/analyzers |
| 300 | 304 | | public static LexicalAnalyzerName Whitespace { get; } = new LexicalAnalyzerName(WhitespaceValue); |
| | 305 | | /// <summary> Determines if two <see cref="LexicalAnalyzerName"/> values are the same. </summary> |
| 18 | 306 | | public static bool operator ==(LexicalAnalyzerName left, LexicalAnalyzerName right) => left.Equals(right); |
| | 307 | | /// <summary> Determines if two <see cref="LexicalAnalyzerName"/> values are not the same. </summary> |
| 8 | 308 | | public static bool operator !=(LexicalAnalyzerName left, LexicalAnalyzerName right) => !left.Equals(right); |
| | 309 | | /// <summary> Converts a string to a <see cref="LexicalAnalyzerName"/>. </summary> |
| 1943 | 310 | | public static implicit operator LexicalAnalyzerName(string value) => new LexicalAnalyzerName(value); |
| | 311 | |
|
| | 312 | | /// <inheritdoc /> |
| | 313 | | [EditorBrowsable(EditorBrowsableState.Never)] |
| 0 | 314 | | public override bool Equals(object obj) => obj is LexicalAnalyzerName other && Equals(other); |
| | 315 | | /// <inheritdoc /> |
| 26 | 316 | | public bool Equals(LexicalAnalyzerName other) => string.Equals(_value, other._value, StringComparison.InvariantC |
| | 317 | |
|
| | 318 | | /// <inheritdoc /> |
| | 319 | | [EditorBrowsable(EditorBrowsableState.Never)] |
| 0 | 320 | | public override int GetHashCode() => _value?.GetHashCode() ?? 0; |
| | 321 | | /// <inheritdoc /> |
| 896 | 322 | | public override string ToString() => _value; |
| | 323 | | } |
| | 324 | | } |