Possible bug - GET with empty body update document

Hi,

i have just started to learning elasticsearch. But i find something, that may be a bug.

If I get document like:

GET /company/company/207016
  • everything is ok, document is returned

But if I get document like:

GET /company/company/207016
{
  
}
  • elasticsearch performed update of document, with null values or whatever and than document is empty

  • and result of this is:

  • and search act like this document even not exists

Why is GET performing update ? I didn't find anything in documentation.

Thank you

It's a bug of CONSOLE.
Actually GET is replaced with POST when you provide a body.

That causes what you see.

Thank you for reply. I looked to Developer console and as you said, it makes POST instead of GET.

Thank you.