-
Notifications
You must be signed in to change notification settings - Fork 185
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
AttributeError: 'AggsProxy' object has no attribute '_index' #299
Labels
bug
Something isn't working
Comments
bepetersn
changed the title
[BUG] Error with using aggregations
[BUG] Error with using aggregations: AttributeError: 'AggsProxy' object has no attribute '_index'
Jun 11, 2022
bepetersn
changed the title
[BUG] Error with using aggregations: AttributeError: 'AggsProxy' object has no attribute '_index'
[BUG] AttributeError: 'AggsProxy' object has no attribute '_index'
Jun 11, 2022
bepetersn
changed the title
[BUG] AttributeError: 'AggsProxy' object has no attribute '_index'
AttributeError: 'AggsProxy' object has no attribute '_index'
Jun 11, 2022
Transferring this issue here as opensearch-dsl-py is being merged into opensearch-py as part of #194 |
@bepetersn your issue hasn't gotten traction for a while. Is it still of interest to you? Would you have any more context to share that you've gleaned since then? |
please reopen the issue, if you think the bug still exists. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is probably not a bug on second glance, I must just be using the library incorrectly. Would love to receive that feedback. I am pretty new to this library as I am maintaining some legacy code.
This is (obviously) not on you, but for total context, this code worked before, in the sense that it didn't produce error at least, when I was using
elasticsearch_dsl
(version 6 -- with accompanying ESv6 product), but after upgrading, is causing a unittest failure with this error / code. I had to remove a reference to.aggs
at line ~17 of the below code snippet on the rv of the firstmetric()
call, where the comment with****
is located, before getting this error.What is the bug?
Error with using aggregations:
AttributeError: 'AggsProxy' object has no attribute '_index'
How can one reproduce the bug?
Steps to reproduce the behavior:
I know this isn't enough, but it's a start...
What is the expected behavior?
I expect the
execute()
statement not to error out, at least.What is your host/environment?
opensearchproject/opensearch:1.2.4
Do you have any additional context?
Traceback:
Anything else short of a full repro that would be of use? The index / mapping itself maybe?
The text was updated successfully, but these errors were encountered: