Is _type really optional?

I'm trying to use the bulk API, which says
"In the optional source part, the type is optional as is when
indexing data."
but if I leave off the "_type" field, I get an error. Am I reading it
correctly?

--Dave

Yea, what is meant is that the type as the top level object in the source is optional. Actually, it is usually best to not include it in the source as the top level object.
On Sunday, April 3, 2011 at 1:41 AM, dmurphy747 wrote:

I'm trying to use the bulk API, which says
"In the optional source part, the type is optional as is when
indexing data."
but if I leave off the "_type" field, I get an error. Am I reading it
correctly?

--Dave