Problem with Grandparent/Parent/Child


(Erling Wegger Linde) #1

Hi,

I've got an issue where the type field seems to be ignored for the child
document, ES (0.90.2) seems to return matches as long as any of it's child
documents (regardless of type) has a match in a field with the same name.
Please see the following gist: https://gist.github.com/erlingwl/6779401 Am
I missing something here? Is this a bug or is there some kind of workaround
I could use?

Thanks,
Erling

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Martijn Van Groningen) #2

Hi Erling,

I see the same issue, the second search request shouldn't have any matches.
This seems like a bug, can you open an issue for it?

Martijn

On 1 October 2013 16:34, Erling Wegger Linde erlingwl@gmail.com wrote:

Hi,

I've got an issue where the type field seems to be ignored for the child
document, ES (0.90.2) seems to return matches as long as any of it's child
documents (regardless of type) has a match in a field with the same name.
Please see the following gist: https://gist.github.com/erlingwl/6779401 Am
I missing something here? Is this a bug or is there some kind of workaround
I could use?

Thanks,
Erling

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Met vriendelijke groet,

Martijn van Groningen

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Erling Wegger Linde) #3

Thanks Martijn, I opened the following
issue: https://github.com/elasticsearch/elasticsearch/issues/3818

Erling

On Tuesday, 1 October 2013 23:57:36 UTC+2, Martijn v Groningen wrote:

Hi Erling,

I see the same issue, the second search request shouldn't have any
matches. This seems like a bug, can you open an issue for it?

Martijn

On 1 October 2013 16:34, Erling Wegger Linde <erli...@gmail.com<javascript:>

wrote:

Hi,

I've got an issue where the type field seems to be ignored for the child
document, ES (0.90.2) seems to return matches as long as any of it's child
documents (regardless of type) has a match in a field with the same name.
Please see the following gist: https://gist.github.com/erlingwl/6779401 Am
I missing something here? Is this a bug or is there some kind of workaround
I could use?

Thanks,
Erling

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
Met vriendelijke groet,

Martijn van Groningen

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4