Hello,
I know that this has been discussed in other threads but I would like to
know if I am missing something or it is just that missing filter does not
work properly with nested objects.
I have left the examples I have been running:
You can have a look and tell me if I am doing something wrong or it works
just like that. As a workaround I would add a field to indicate whether the
nested object attribute ("priosenio" in this case) is empty or not.
I do feel that your gut feeling is correct in expecting the missing filter
to just work. Please feel free to open an issue on github explaining it.
Cheers,
Boaz
On Friday, November 15, 2013 2:18:10 PM UTC+1, Ernesto Reig wrote:
Hello,
I know that this has been discussed in other threads but I would like to
know if I am missing something or it is just that missing filter does not
work properly with nested objects.
I have left the examples I have been running: Elasticsearch missing filter with nested objects · GitHub
You can have a look and tell me if I am doing something wrong or it works
just like that. As a workaround I would add a field to indicate whether the
nested object attribute ("priosenio" in this case) is empty or not.
Hi Boaz,
I don´t quite understand exactly how that query works, but I ´ll look into
it.
In any case, what my "gut feeling" is saying is "use the missing filter to
find the docs with empty or no priosenio attribute, as it does with normal
objects".
Thank you very much for your response, it´s been very helpful
I do feel that your gut feeling is correct in expecting the missing filter
to just work. Please feel free to open an issue on github explaining it.
Cheers,
Boaz
On Friday, November 15, 2013 2:18:10 PM UTC+1, Ernesto Reig wrote:
Hello,
I know that this has been discussed in other threads but I would like to
know if I am missing something or it is just that missing filter does not
work properly with nested objects.
I have left the examples I have been running: https://gist.github.
com/Erni/7484095
You can have a look and tell me if I am doing something wrong or it works
just like that. As a workaround I would add a field to indicate whether the
nested object attribute ("priosenio" in this case) is empty or not.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.