Hi Geza, yes, this is correct behavior for elasticsearch now - since it wasn't consistent before (sometimes you'd get back values, sometimes lists) we changed it to be safe always (always return lists). This is not a python-specific change, this is the difference in es output format.
If you're upgrading to 1.0 consider switching over to source filtering instead of specifying fields, might look better to you: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-source-filtering.html Honza On Thu, Feb 13, 2014 at 3:11 PM, G Kerekes <[email protected]> wrote: > We have just upgraded to 1.0 and when I run my previous queries in Python > (es.search()) I get back the dictionary values in squared brackets: > > {u'_score': 1.0, u'_type': u'primary', u'_id': u'21792407', u'fields': > {u'outletstat': [u'Yes'], u'responseid': [u'21792407'], u'handling': > [u'Non-Handler'], u'response_modified': [u'2013-09-17 16:31:30'], u'lgai': > [u'Ikeja'], u'intid': [u'01133366']}, u'_index': u'log_data_all'} > > Anyone experienced the same? > > Thanks, > Geza > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/02835ab0-78ba-41f9-9ea0-f51918729a96%40googlegroups.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CABfdDirKzUdW%2BqBOKPpYBPvG8jJPr7XkhJ52vah3usGnOhqAiw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
