# Binary smile format in elasticsearch

**URL:** <https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702>\
**Category:** Elasticsearch\
**Created:** [February 14, 2012, 9:20am UTC](https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702 "2012-02-14T09:20:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marek\_marek](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@marek\_marek](https://discuss.elastic.co/u/marek_marek)\
**Post date:** [February 14, 2012, 9:20am UTC](https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702/1 "2012-02-14T09:20:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 14, 2012, 2:51pm UTC](https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702/2 "2012-02-14T14:51:39Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![marek\_marek](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@marek\_marek](https://discuss.elastic.co/u/marek_marek)\
**Post date:** [March 28, 2012, 8:00am UTC](https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702/3 "2012-03-28T08:00:52Z")

</div>

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/](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](mailto: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?

---

<div class="post-metadata">

**Author:** ![marek\_marek](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@marek\_marek](https://discuss.elastic.co/u/marek_marek)\
**Post date:** [March 28, 2012, 8:03am UTC](https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702/4 "2012-03-28T08:03:23Z")

</div>

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/](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](mailto: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?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 28, 2012, 8:53am UTC](https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702/5 "2012-03-28T08:53:50Z")

</div>

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.com](mailto:smieja.marek@gmail.com)wrote:

> 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/](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](mailto: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?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 28, 2012, 10:03am UTC](https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702/6 "2012-03-28T10:03:27Z")

</div>

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:  
[Indexing a document in smile format and getting it through REST in json format fails · Issue #1816 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1816).

On Wed, Mar 28, 2012 at 10:53 AM, Shay Banon [kimchy@gmail.com](mailto: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.com](mailto:smieja.marek@gmail.com)wrote:
> 
> > 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/](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](mailto: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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:34am UTC](https://discuss.elastic.co/t/binary-smile-format-in-elasticsearch/6702/7 "2017-07-06T03:34:26Z")

</div>


