GetRequest with fields issue

Hi,

I have tried using the GetRequest using the fields method prior to the
request to limit the set of fields I want back.
The response shows the document exists but the source is null.

If I don't provide any fields using he same id I get everything back. The
fields I specified in the previous request do exist in this response.

Thanks

On Fri, 2010-07-02 at 14:36 -0700, Samuel Doyle wrote:

Hi,

I have tried using the GetRequest using the fields method prior to the
request to limit the set of fields I want back.
The response shows the document exists but the source is null.

Have you set the fields you want returned to { "store": "yes" } ?

If not, then they aren't stored in a form that can be returned to you.

If I don't provide any fields using he same id I get everything back.
The fields I specified in the previous request do exist in this
response.

The _source field IS stored, and what is returned to you is the same
JSON that you passed it. But the fields inside that _source are not
stored.

clint

Thanks
--
Web Announcements Limited is a company registered in England and Wales,
with company number 05608868, with registered address at 10 Arvon Road,
London, N5 1PR.