AnalyzeRequest Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AnalyzeRequest() |
Initializes a new instance of the AnalyzeRequest class. |
AnalyzeRequest(String, Nullable<AnalyzerName>, Nullable<TokenizerName>, IList<TokenFilterName>, IList<CharFilterName>) |
Initializes a new instance of the AnalyzeRequest class. |
AnalyzeRequest()
- Source:
- AnalyzeRequest.cs
Initializes a new instance of the AnalyzeRequest class.
public AnalyzeRequest ();
Public Sub New ()
Applies to
AnalyzeRequest(String, Nullable<AnalyzerName>, Nullable<TokenizerName>, IList<TokenFilterName>, IList<CharFilterName>)
- Source:
- AnalyzeRequest.cs
Initializes a new instance of the AnalyzeRequest class.
public AnalyzeRequest (string text, Microsoft.Azure.Search.Models.AnalyzerName? analyzer = default, Microsoft.Azure.Search.Models.TokenizerName? tokenizer = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.TokenFilterName> tokenFilters = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.CharFilterName> charFilters = default);
new Microsoft.Azure.Search.Models.AnalyzeRequest : string * Nullable<Microsoft.Azure.Search.Models.AnalyzerName> * Nullable<Microsoft.Azure.Search.Models.TokenizerName> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.TokenFilterName> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.CharFilterName> -> Microsoft.Azure.Search.Models.AnalyzeRequest
Public Sub New (text As String, Optional analyzer As Nullable(Of AnalyzerName) = Nothing, Optional tokenizer As Nullable(Of TokenizerName) = Nothing, Optional tokenFilters As IList(Of TokenFilterName) = Nothing, Optional charFilters As IList(Of CharFilterName) = Nothing)
Parameters
- text
- String
The text to break into tokens.
- analyzer
- Nullable<AnalyzerName>
The name of the analyzer to use to break the given text. If this parameter is not specified, you must specify a tokenizer instead. The tokenizer and analyzer parameters are mutually exclusive. Possible values include: 'ar.microsoft', 'ar.lucene', 'hy.lucene', 'bn.microsoft', 'eu.lucene', 'bg.microsoft', 'bg.lucene', 'ca.microsoft', 'ca.lucene', 'zh-Hans.microsoft', 'zh-Hans.lucene', 'zh-Hant.microsoft', 'zh-Hant.lucene', 'hr.microsoft', 'cs.microsoft', 'cs.lucene', 'da.microsoft', 'da.lucene', 'nl.microsoft', 'nl.lucene', 'en.microsoft', 'en.lucene', 'et.microsoft', 'fi.microsoft', 'fi.lucene', 'fr.microsoft', 'fr.lucene', 'gl.lucene', 'de.microsoft', 'de.lucene', 'el.microsoft', 'el.lucene', 'gu.microsoft', 'he.microsoft', 'hi.microsoft', 'hi.lucene', 'hu.microsoft', 'hu.lucene', 'is.microsoft', 'id.microsoft', 'id.lucene', 'ga.lucene', 'it.microsoft', 'it.lucene', 'ja.microsoft', 'ja.lucene', 'kn.microsoft', 'ko.microsoft', 'ko.lucene', 'lv.microsoft', 'lv.lucene', 'lt.microsoft', 'ml.microsoft', 'ms.microsoft', 'mr.microsoft', 'nb.microsoft', 'no.lucene', 'fa.lucene', 'pl.microsoft', 'pl.lucene', 'pt-BR.microsoft', 'pt-BR.lucene', 'pt-PT.microsoft', 'pt-PT.lucene', 'pa.microsoft', 'ro.microsoft', 'ro.lucene', 'ru.microsoft', 'ru.lucene', 'sr-cyrillic.microsoft', 'sr-latin.microsoft', 'sk.microsoft', 'sl.microsoft', 'es.microsoft', 'es.lucene', 'sv.microsoft', 'sv.lucene', 'ta.microsoft', 'te.microsoft', 'th.microsoft', 'th.lucene', 'tr.microsoft', 'tr.lucene', 'uk.microsoft', 'ur.microsoft', 'vi.microsoft', 'standard.lucene', 'standardasciifolding.lucene', 'keyword', 'pattern', 'simple', 'stop', 'whitespace'
- tokenizer
- Nullable<TokenizerName>
The name of the tokenizer to use to break the given text. If this parameter is not specified, you must specify an analyzer instead. The tokenizer and analyzer parameters are mutually exclusive. Possible values include: 'classic', 'edgeNGram', 'keyword_v2', 'letter', 'lowercase', 'microsoft_language_tokenizer', 'microsoft_language_stemming_tokenizer', 'nGram', 'path_hierarchy_v2', 'pattern', 'standard_v2', 'uax_url_email', 'whitespace'
- tokenFilters
- IList<TokenFilterName>
An optional list of token filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter.
- charFilters
- IList<CharFilterName>
An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter.
Applies to
Azure SDK for .NET