Complicated bool query not find my document

This search query return 0 hits
{"bool":{"must":[{"bool":{"should":[{"term":{"socioresearch_gen_geath":"Выпускники
школ"}}]}}]}}

However the document indexed has its structure as follows

{"socioresearch_name":"Исследование выпускников университетов",
"socioresearch_dates_start_date":"2009-4-10T0:0:0",
"socioresearch_dates_end_date":"2010-4-29T0:0:0",
"socioresearch_gen_geath":"Выпускники школ", "socioresearch_sel_size":1567,
"socioresearch_generation_type_randomity":"случайная",
"socioresearch_generation_type_levels":"многоступенчатая",
"socioresearch_orgs_org_order_organization":"КЦПИК",
"socioresearch_orgs_org_impl_organization":"КМИС"}

Where we can see that field "socioresearch_gen_geath" I'am interested in
indexed.
Who knows what is wrong there?
How good nested bool queries works itself?

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

Hello,

Is your document found by this query ?
{"bool":{"must":[{"bool":{"should":[{"match":{"socioresearch_gen_geath":"Выпускники
школ"}}]}}]}}

I suppose that the field socioresearch_gen_geath is analyzed. So you
should use match or provide your query with valid terms.

Jérôme Mainaud
jerome@mainaud.com

Le 11/05/13 22:22, reshet.ukr@gmail.com a écrit :

This search query return 0 hits
{"bool":{"must":[{"bool":{"should":[{"term":{"socioresearch_gen_geath":"Выпускники
школ"}}]}}]}}

However the document indexed has its structure as follows

{"socioresearch_name":"Исследование выпускников университетов",
"socioresearch_dates_start_date":"2009-4-10T0:0:0",
"socioresearch_dates_end_date":"2010-4-29T0:0:0",
"socioresearch_gen_geath":"Выпускники школ",
"socioresearch_sel_size":1567,
"socioresearch_generation_type_randomity":"случайная",
"socioresearch_generation_type_levels":"многоступенчатая",
"socioresearch_orgs_org_order_organization":"КЦПИК",
"socioresearch_orgs_org_impl_organization":"КМИС"}

Where we can see that field "socioresearch_gen_geath" I'am interested
in indexed.
Who knows what is wrong there?
How good nested bool queries works itself?

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.

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