Help with a basic nested query

Hi All,

I'm wondering if I could trouble some folks for some help with a nested
query. I'm developing in PHP using the Elastica library.

Here is the gist for the
mapping: https://gist.github.com/lukewertz/c5d1170dd60278d7e671

It's basically a titled grouping of movies (where "movies" are their own
type in addition to being nested documents inside of the grouping).

Here is the question I'm trying to
run: https://gist.github.com/lukewertz/ea308c5567a7b7713a5c

It's returning no results, even though there are data there.

Am I overlooking something simple (I hope!)?

Thanks in advance,
Luke

--
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.

I test your mapping and query with simple data, there is no problem.
what about your phpcode?

在 2013年2月20日星期三UTC+8下午1时11分14秒,Luke Wertz写道:

Hi All,

I'm wondering if I could trouble some folks for some help with a nested
query. I'm developing in PHP using the Elastica library.

Here is the gist for the mapping:
gist:c5d1170dd60278d7e671 · GitHub

It's basically a titled grouping of movies (where "movies" are their own
type in addition to being nested documents inside of the grouping).

Here is the question I'm trying to run:
gist:ea308c5567a7b7713a5c · GitHub

It's returning no results, even though there are data there.

Am I overlooking something simple (I hope!)?

Thanks in advance,
Luke

--
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.

Thanks for the reply. I'm still having some trouble with this.

I don't think it's in the PHP code because when I execute the search
directly (via CURL) I get no results. See this
gist: gist:0e49100d86e9a94c24c5 · GitHub

I'm using version 0.20.4. Any thoughts on what else to troubleshoot would
be very welcome. I've removed the index and search analyzers from the mix,
so I'm using ES defaults when both indicies are created.

Thanks,
Luke

On Wednesday, February 20, 2013 2:53:54 AM UTC-5, asoqa wrote:

I test your mapping and query with simple data, there is no problem.
what about your phpcode?

在 2013年2月20日星期三UTC+8下午1时11分14秒,Luke Wertz写道:

Hi All,

I'm wondering if I could trouble some folks for some help with a nested
query. I'm developing in PHP using the Elastica library.

Here is the gist for the mapping:
gist:c5d1170dd60278d7e671 · GitHub

It's basically a titled grouping of movies (where "movies" are their own
type in addition to being nested documents inside of the grouping).

Here is the question I'm trying to run:
gist:ea308c5567a7b7713a5c · GitHub

It's returning no results, even though there are data there.

Am I overlooking something simple (I hope!)?

Thanks in advance,
Luke

--
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.

check indexAnalyzer or searchAnalyzer to see if data is indexed and
queryed as what you wants

在 2013年2月21日星期四UTC+8下午12时23分10秒,Luke Wertz写道:

Thanks for the reply. I'm still having some trouble with this.

I don't think it's in the PHP code because when I execute the search
directly (via CURL) I get no results. See this gist:
gist:0e49100d86e9a94c24c5 · GitHub

I'm using version 0.20.4. Any thoughts on what else to troubleshoot would
be very welcome. I've removed the index and search analyzers from the mix,
so I'm using ES defaults when both indicies are created.

Thanks,
Luke

On Wednesday, February 20, 2013 2:53:54 AM UTC-5, asoqa wrote:

I test your mapping and query with simple data, there is no problem.
what about your phpcode?

在 2013年2月20日星期三UTC+8下午1时11分14秒,Luke Wertz写道:

Hi All,

I'm wondering if I could trouble some folks for some help with a nested
query. I'm developing in PHP using the Elastica library.

Here is the gist for the mapping:
gist:c5d1170dd60278d7e671 · GitHub

It's basically a titled grouping of movies (where "movies" are their own
type in addition to being nested documents inside of the grouping).

Here is the question I'm trying to run:
gist:ea308c5567a7b7713a5c · GitHub

It's returning no results, even though there are data there.

Am I overlooking something simple (I hope!)?

Thanks in advance,
Luke

--
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.