Binary smile format in elasticsearch


(marek marek) #1

Is there any known limitations or contraindications why not to use of
the binary smile format with
elasticsearch 0.18.6?


(Shay Banon) #2

No, you can safely use it.

On Tuesday, February 14, 2012 at 11:20 AM, marek marek wrote:

Is there any known limitations or contraindications why not to use of
the binary smile format with
elasticsearch 0.18.6?


(marek marek) #3

I use the binary Smile format in elasticsearch. I have two nodes of
elasticsearch running. When I am trying to get data through http like:
http://localhost:9200/index/type/..., then every second time it is
returning an error:

{
"error" : "JsonParseException[Input does not start with Smile format
header (first byte = 0x0) and parser has REQUIRE_HEADER enabled: can
not parse\n at [Source: N/A; line: -1, column: -1]]",
"status" : 500
}

Should I use some specific header?

On 14 Lut, 16:51, Shay Banon kim...@gmail.com wrote:

No, you can safely use it.

On Tuesday, February 14, 2012 at 11:20 AM, marek marek wrote:

Is there any known limitations or contraindications why not to use of
the binary smile format with
elasticsearch 0.18.6?


(marek marek) #4

I use the binary Smile format in elasticsearch. I have two nodes of
elasticsearch running. When I try to get data through http like:
http://localhost:9200/index/type/... then every second time it is
returning an error:

{
"error" : "JsonParseException[Input does not start with Smile format
header (first byte = 0x0) and parser has REQUIRE_HEADER enabled: can
not parse\n at [Source: N/A; line: -1, column: -1]]",
"status" : 500
}

Should I use some specific header?

On 14 Lut, 16:51, Shay Banon kim...@gmail.com wrote:

No, you can safely use it.

On Tuesday, February 14, 2012 at 11:20 AM, marek marek wrote:

Is there any known limitations or contraindications why not to use of
the binary smile format with
elasticsearch 0.18.6?


(Shay Banon) #5

Can you gist the error logged in teh log file? What operation are you
executing?

On Wed, Mar 28, 2012 at 10:00 AM, marek marek smieja.marek@gmail.comwrote:

I use the binary Smile format in elasticsearch. I have two nodes of
elasticsearch running. When I am trying to get data through http like:
http://localhost:9200/index/type/..., then every second time it is
returning an error:

{
"error" : "JsonParseException[Input does not start with Smile format
header (first byte = 0x0) and parser has REQUIRE_HEADER enabled: can
not parse\n at [Source: N/A; line: -1, column: -1]]",
"status" : 500
}

Should I use some specific header?

On 14 Lut, 16:51, Shay Banon kim...@gmail.com wrote:

No, you can safely use it.

On Tuesday, February 14, 2012 at 11:20 AM, marek marek wrote:

Is there any known limitations or contraindications why not to use of
the binary smile format with
elasticsearch 0.18.6?


(Shay Banon) #6

I think I found a problem, when you index a smile document and then ask it
in REST to return in json format, opened an issue:
https://github.com/elasticsearch/elasticsearch/issues/1816.

On Wed, Mar 28, 2012 at 10:53 AM, Shay Banon kimchy@gmail.com wrote:

Can you gist the error logged in teh log file? What operation are you
executing?

On Wed, Mar 28, 2012 at 10:00 AM, marek marek smieja.marek@gmail.comwrote:

I use the binary Smile format in elasticsearch. I have two nodes of
elasticsearch running. When I am trying to get data through http like:
http://localhost:9200/index/type/..., then every second time it is
returning an error:

{
"error" : "JsonParseException[Input does not start with Smile format
header (first byte = 0x0) and parser has REQUIRE_HEADER enabled: can
not parse\n at [Source: N/A; line: -1, column: -1]]",
"status" : 500
}

Should I use some specific header?

On 14 Lut, 16:51, Shay Banon kim...@gmail.com wrote:

No, you can safely use it.

On Tuesday, February 14, 2012 at 11:20 AM, marek marek wrote:

Is there any known limitations or contraindications why not to use of
the binary smile format with
elasticsearch 0.18.6?


(system) #7