Closed
Description
openedon Jun 5, 2020
Per discussion,
- Rename
AnalyzeRequest
toAnalyzeTextOptions
.SearchIndexClient.AnalyzeText
should look like:AnalyzeText(string indexName, AnalyzeTextOptions options, ...)
. - Add constructor overloads or other initialization helpers to require
text
, and eitheranalyer
ortokenizer
(or, if you want,analyzerName
, andtokenizerName
, though I'll open up a separate issue for that).
class AnalyzeTextOptions {
ctor(string text, LexicalAnalyzerName analyzer);
ctor(string text, LexicalTokenizerName tokenizer);
string text { get; }
LexicalAnalyzerName? analyzer { get; }
LexicalTokenizerName? tokenizer { get; }
(remaining properties: { get; set; })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment