Closed
Description
Calling Analyze with en empty / null value throws an Exception. I think it would be better to be able to send empty analyze requests and get an IAnalyzeResponse back with the IsValid = false and appropriate error message set instead of the exception.
Example:
var req = new AnalyzeRequest(String.Empty);
req.Indices = new IndexNameMarker[] { IndexName };
req.Field = field;
// Next line throws an exception
var analyzeResult = Client.Analyze(req);
Metadata
Metadata
Assignees
Labels
No labels