-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
Terms not working as expected #843
Comments
@nascosto Yea, this definitely looks like a bug. Good catch and thanks for reporting. I'm looking into it now. |
gmarz
added a commit
that referenced
this issue
Aug 4, 2014
Serialization was being skipped when numeric terms were passed to terms filter due to incorrect IsConditionless() logic. This commit also fixes a NRE that was being thrown when passing a null terms value. An empty filter is now created instead. Closes #843.
Thanks for fixing this. Looking forward to its release. |
@nascosto no problem. If you don't want to wait for the 1.0.2 stable release, you can always grab the NuGet package from our CI builds at https://www.myget.org/gallery/elasticsearch-net. |
gmarz
added a commit
that referenced
this issue
Aug 11, 2014
Serialization was being skipped when numeric terms were passed to terms filter due to incorrect IsConditionless() logic. This commit also fixes a NRE that was being thrown when passing a null terms value. An empty filter is now created instead. Closes #843.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I didn't have this problem with pre-1.0.0. I'm attempting to use 1.0.1 right now
I'm having a problem with Terms. It only seems to work for strings. In my case, longs and enums are leaving the filter empty. Also, before I could pass in null to Terms and it would handle it correctly. I can no longer do that. It throws a System.AggregateException in mscorlib.
Am I doing something wrong or is this a bug?
The text was updated successfully, but these errors were encountered: