@@ -16,7 +16,6 @@ public IAnalyzeResponse Analyze(Func<AnalyzeDescriptor, AnalyzeDescriptor> analy
1616 IRequest < AnalyzeRequestParameters > request = d ;
1717 var text = request . RequestParameters . GetQueryStringValue < string > ( "text" ) ;
1818 request . RequestParameters . RemoveQueryString ( "text" ) ;
19- text . ThrowIfNullOrEmpty ( "No text specified to analyze" ) ;
2019 return this . RawDispatch . IndicesAnalyzeDispatch < AnalyzeResponse > ( p , text ) ;
2120 }
2221 ) ;
@@ -32,7 +31,6 @@ public IAnalyzeResponse Analyze(IAnalyzeRequest analyzeRequest)
3231 IRequest < AnalyzeRequestParameters > request = d ;
3332 var text = request . RequestParameters . GetQueryStringValue < string > ( "text" ) ;
3433 request . RequestParameters . RemoveQueryString ( "text" ) ;
35- text . ThrowIfNullOrEmpty ( "No text specified to analyze" ) ;
3634 return this . RawDispatch . IndicesAnalyzeDispatch < AnalyzeResponse > ( p , text ) ;
3735 }
3836 ) ;
@@ -48,7 +46,6 @@ public Task<IAnalyzeResponse> AnalyzeAsync(Func<AnalyzeDescriptor, AnalyzeDescri
4846 IRequest < AnalyzeRequestParameters > request = d ;
4947 var text = request . RequestParameters . GetQueryStringValue < string > ( "text" ) ;
5048 request . RequestParameters . RemoveQueryString ( "text" ) ;
51- text . ThrowIfNullOrEmpty ( "No text specified to analyze" ) ;
5249 return this . RawDispatch . IndicesAnalyzeDispatchAsync < AnalyzeResponse > ( p , text ) ;
5350 }
5451 ) ;
@@ -64,7 +61,6 @@ public Task<IAnalyzeResponse> AnalyzeAsync(IAnalyzeRequest analyzeRequest)
6461 IRequest < AnalyzeRequestParameters > request = d ;
6562 var text = request . RequestParameters . GetQueryStringValue < string > ( "text" ) ;
6663 request . RequestParameters . RemoveQueryString ( "text" ) ;
67- text . ThrowIfNullOrEmpty ( "No text specified to analyze" ) ;
6864 return this . RawDispatch . IndicesAnalyzeDispatchAsync < AnalyzeResponse > ( p , text ) ;
6965 }
7066 ) ;
0 commit comments