We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, when i trying to use .Include function of terms aggregation below exception occurs.
[ArgumentException: An item with the same key has already been added.]
I think the cause of this error, function tries to add dictionay to both includepattern and regexflags with same key which is "pattern"
[JsonProperty("include")] internal IDictionary<string, string> _Include { get; set; } public TermsAggregationDescriptor<T> Include(string includePattern, string regexFlags = null) { this._Include = new Dictionary<string, string> { {"pattern", includePattern}}; if (!regexFlags.IsNullOrEmpty()) this._Include.Add("pattern", regexFlags); return this; }
The text was updated successfully, but these errors were encountered:
044ea16
Thank you for reporting this @deviantus 👍
Sorry, something went wrong.
Your welcome. Thanks for the great client.
No branches or pull requests
Hi, when i trying to use .Include function of terms aggregation below exception occurs.
[ArgumentException: An item with the same key has already been added.]
I think the cause of this error, function tries to add dictionay to both includepattern and regexflags with same key which is "pattern"
The text was updated successfully, but these errors were encountered: