Excluding fields with partial fields not working?

I'm trying to use the fields settinghttp://www.elasticsearch.org/guide/reference/api/search/fields/to exclude a particular field from search queries, specifically using
partial fields.
All my fields are loaded from source and I'm using this (ruby hash) as the
representation of what I want to exclude

  {
    :query => {
      :query_string => {
        :query => @query,
        :default_operator => "AND"
      }
    },
    :partial_fields => {
      :partial1 => {
        :exclude => 'post.document_body'
      }
    }
  }

but that field still keeps getting returned in search results.
Any suggestions about what I'm doing wrong?

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

got it solved?

On Thursday, August 15, 2013 4:50:40 AM UTC+3, concept47 wrote:

I'm trying to use the fields setting
http://www.elasticsearch.org/guide/reference/api/search/fields/ to
exclude a particular field from search queries, specifically using partial
fields.
All my fields are loaded from source and I'm using this (ruby hash) as the
representation of what I want to exclude

  {
    :query => {
      :query_string => {
        :query => @query,
        :default_operator => "AND"
      }
    },
    :partial_fields => {
      :partial1 => {
        :exclude => 'post.document_body'
      }
    }
  }

but that field still keeps getting returned in search results.
Any suggestions about what I'm doing wrong?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a16eea08-8e22-4d59-b6e7-ad87ce2f4626%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.