# Open Elasticsearch lucene files with Luke

**URL:** <https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519>\
**Category:** Elasticsearch\
**Created:** [January 27, 2013, 4:18pm UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519 "2013-01-27T16:18:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)\
**Post date:** [January 27, 2013, 4:18pm UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/1 "2013-01-27T16:18:35Z")

</div>

Hi,

Tried to open elasticsearch lucene files  
(elasticsearch-0.20.2\elasticsearch-0.20.2\data\elasticsearch\nodes\0\indices\musicstore\4\index)  
with Luke, and I get the message "unknown format version: -11".

Is it possible at all to open with Luke? Does elasticsearch saves to lucene  
the same way when working with lucene directly?

Thanks,

Ophir

--

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [January 27, 2013, 4:41pm UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/2 "2013-01-27T16:41:41Z")

</div>

The only way I have been able to use Luke is to close and re-open the  
index. Executing a flush would render the index useless.

There is a plugin available that promise Luke-like functionality, but I  
have never used it: [GitHub - jprante/elasticsearch-skywalker: Skywalker for Elasticsearch is like Luke for Lucene](https://github.com/jprante/elasticsearch-skywalker)

--  
Ivan

On Sun, Jan 27, 2013 at 8:18 AM, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com)wrote:

> Hi,\*\*\*\*\*\*
> 
> * * *
> 
> Tried to open elasticsearch lucene files  
> (elasticsearch-0.20.2\elasticsearch-0.20.2\data\elasticsearch\nodes\0\indices\musicstore\4\index)  
> with Luke, and I get the message "unknown format version: -11".\*\*\*\*
> 
> Is it possible at all to open with Luke? Does elasticsearch saves to  
> lucene the same way when working with lucene directly?\*\*\*\*
> 
> * * *
> 
> Thanks,\*\*\*\*
> 
> Ophir\*\*\*\*
> 
> --

--

---

<div class="post-metadata">

**Author:** ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)\
**Post date:** [January 28, 2013, 11:05am UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/3 "2013-01-28T11:05:43Z")

</div>

On Sunday, January 27, 2013 6:41:41 PM UTC+2, Ivan Brusic wrote:

> The only way I have been able to use Luke is to close and re-open the  
> index. Executing a flush would render the index useless.
> 
> There is a plugin available that promise Luke-like functionality, but I  
> have never used it: [GitHub - jprante/elasticsearch-skywalker: Skywalker for Elasticsearch is like Luke for Lucene](https://github.com/jprante/elasticsearch-skywalker)
> 
> --  
> Ivan
> 
> What do you mean by "… close and re-open the index"?
> 
> Thanks.
> 
> On Sun, Jan 27, 2013 at 8:18 AM, Ophir Michaeli \<[ophirm...@gmail.com](mailto:ophirm...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Hi,\*\*\*\*\*\*
> > 
> > * * *
> > 
> > Tried to open elasticsearch lucene files  
> > (elasticsearch-0.20.2\elasticsearch-0.20.2\data\elasticsearch\nodes\0\indices\musicstore\4\index)  
> > with Luke, and I get the message "unknown format version: -11".\*\*\*\*
> > 
> > Is it possible at all to open with Luke? Does elasticsearch saves to  
> > lucene the same way when working with lucene directly?\*\*\*\*
> > 
> > * * *
> > 
> > Thanks,\*\*\*\*
> > 
> > Ophir\*\*\*\*
> > 
> > --

--

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [January 28, 2013, 6:49pm UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/4 "2013-01-28T18:49:11Z")

</div>

Indices are Lucene indices, so you can open and close them at will:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

--  
Ivan

On Mon, Jan 28, 2013 at 3:05 AM, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com)wrote:

> On Sunday, January 27, 2013 6:41:41 PM UTC+2, Ivan Brusic wrote:
> 
> > The only way I have been able to use Luke is to close and re-open the  
> > index. Executing a flush would render the index useless.
> > 
> > There is a plugin available that promise Luke-like functionality, but I  
> > have never used it: [https://github.com/\*\*jprante/elasticsearch-](https://github.com/**jprante/elasticsearch-)\*\*  
> > skywalker [https://github.com/jprante/elasticsearch-skywalker](https://github.com/jprante/elasticsearch-skywalker)
> > 
> > --  
> > Ivan
> > 
> > What do you mean by "… close and re-open the index"? \*\*\*\*\*\*
> > 
> > Thanks.\*\*\*\*
> > 
> > * * *
> > 
> > On Sun, Jan 27, 2013 at 8:18 AM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)wrote:
> > 
> > > Hi,\*\*\*\*\*\*
> > > 
> > > * * *
> > > 
> > > Tried to open elasticsearch lucene files (elasticsearch-0.20.2\*\*  
> > > elasticsearch-0.20.2\data\*_elasticsearch\nodes\0\indices\*musicstore\4\index)  
> > > with Luke, and I get the message "unknown format version: -11"._\*\*
> > > 
> > > Is it possible at all to open with Luke? Does elasticsearch saves to  
> > > lucene the same way when working with lucene directly?\*\*\*\*
> > > 
> > > * * *
> > > 
> > > Thanks,\*\*\*\*
> > > 
> > > Ophir\*\*\*\*
> > > 
> > > --
> > 
> > --

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group, send email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)\
**Post date:** [January 29, 2013, 9:45am UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/5 "2013-01-29T09:45:28Z")

</div>

I closed and open the index, but still not able to open with Luke.  
thanks a-lot, Ophir

On Monday, January 28, 2013 8:49:11 PM UTC+2, Ivan Brusic wrote:

> Indices are Lucene indices, so you can open and close them at will:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close.html)
> 
> --  
> Ivan
> 
> On Mon, Jan 28, 2013 at 3:05 AM, Ophir Michaeli \<[ophirm...@gmail.com](mailto:ophirm...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > On Sunday, January 27, 2013 6:41:41 PM UTC+2, Ivan Brusic wrote:
> > 
> > > The only way I have been able to use Luke is to close and re-open the  
> > > index. Executing a flush would render the index useless.
> > > 
> > > There is a plugin available that promise Luke-like functionality, but I  
> > > have never used it: [https://github.com/\*\*jprante/elasticsearch-](https://github.com/**jprante/elasticsearch-)\*\*  
> > > skywalker [https://github.com/jprante/elasticsearch-skywalker](https://github.com/jprante/elasticsearch-skywalker)
> > > 
> > > --  
> > > Ivan
> > > 
> > > What do you mean by "… close and re-open the index"? \*\*\*\*\*\*
> > > 
> > > Thanks.\*\*\*\*
> > > 
> > > * * *
> > > 
> > > On Sun, Jan 27, 2013 at 8:18 AM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)wrote:
> > > 
> > > > Hi,\*\*\*\*\*\*
> > > > 
> > > > * * *
> > > > 
> > > > Tried to open elasticsearch lucene files (elasticsearch-0.20.2\*\*  
> > > > elasticsearch-0.20.2\data\*_elasticsearch\nodes\0\indices\*musicstore\4\index)  
> > > > with Luke, and I get the message "unknown format version: -11"._\*\*
> > > > 
> > > > Is it possible at all to open with Luke? Does elasticsearch saves to  
> > > > lucene the same way when working with lucene directly?\*\*\*\*
> > > > 
> > > > * * *
> > > > 
> > > > Thanks,\*\*\*\*
> > > > 
> > > > Ophir\*\*\*\*
> > > > 
> > > > --
> > > 
> > > --

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![mvg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvg/32/98890_2.png) [@mvg](https://discuss.elastic.co/u/mvg)\
**Post date:** [January 29, 2013, 3:05pm UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/6 "2013-01-29T15:05:40Z")

</div>

Is the Lucene version of Luke the same as the Elasticsearch version?  
Elasticsearch 0.20.2 uses Lucene version 3.6.2.

Martijn

On 29 January 2013 10:45, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com) wrote:

> I closed and open the index, but still not able to open with Luke.  
> thanks a-lot, Ophir
> 
> On Monday, January 28, 2013 8:49:11 PM UTC+2, Ivan Brusic wrote:
> 
> > Indices are Lucene indices, so you can open and close them at will:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close.html)
> > 
> > --  
> > Ivan
> > 
> > On Mon, Jan 28, 2013 at 3:05 AM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> > wrote:
> > 
> > > On Sunday, January 27, 2013 6:41:41 PM UTC+2, Ivan Brusic wrote:
> > > 
> > > > The only way I have been able to use Luke is to close and re-open the  
> > > > index. Executing a flush would render the index useless.
> > > > 
> > > > There is a plugin available that promise Luke-like functionality, but I  
> > > > have never used it: [GitHub - jprante/elasticsearch-skywalker: Skywalker for Elasticsearch is like Luke for Lucene](https://github.com/jprante/elasticsearch-skywalker)
> > > > 
> > > > --  
> > > > Ivan
> > > > 
> > > > What do you mean by "… close and re-open the index"?
> > > > 
> > > > Thanks.
> > > > 
> > > > On Sun, Jan 27, 2013 at 8:18 AM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> > > > wrote:
> > > > 
> > > > > Hi,
> > > > > 
> > > > > Tried to open elasticsearch lucene files  
> > > > > (elasticsearch-0.20.2\elasticsearch-0.20.2\data\elasticsearch\nodes\0\indices\musicstore\4\index)  
> > > > > with Luke, and I get the message "unknown format version: -11".
> > > > > 
> > > > > Is it possible at all to open with Luke? Does elasticsearch saves to  
> > > > > lucene the same way when working with lucene directly?
> > > > > 
> > > > > Thanks,
> > > > > 
> > > > > Ophir
> > > > > 
> > > > > --
> > > 
> > > --
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Met vriendelijke groet,

Martijn van Groningen

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)\
**Post date:** [January 30, 2013, 5:00pm UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/7 "2013-01-30T17:00:36Z")

</div>

Thanks!

Downloaded Luke 4 and it works.

On Tue, Jan 29, 2013 at 5:05 PM, Martijn v Groningen \<  
[martijn.v.groningen@gmail.com](mailto:martijn.v.groningen@gmail.com)\> wrote:

> Is the Lucene version of Luke the same as the Elasticsearch version?  
> Elasticsearch 0.20.2 uses Lucene version 3.6.2.
> 
> Martijn
> 
> On 29 January 2013 10:45, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com) wrote:
> 
> > I closed and open the index, but still not able to open with Luke.  
> > thanks a-lot, Ophir
> > 
> > On Monday, January 28, 2013 8:49:11 PM UTC+2, Ivan Brusic wrote:
> > 
> > > Indices are Lucene indices, so you can open and close them at will:
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close.html)
> 
> > > --  
> > > Ivan
> > > 
> > > On Mon, Jan 28, 2013 at 3:05 AM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> > > wrote:
> > > 
> > > > On Sunday, January 27, 2013 6:41:41 PM UTC+2, Ivan Brusic wrote:
> > > > 
> > > > > The only way I have been able to use Luke is to close and re-open the  
> > > > > index. Executing a flush would render the index useless.
> > > > > 
> > > > > There is a plugin available that promise Luke-like functionality, but  
> > > > > I  
> > > > > have never used it:  
> > > > > [GitHub - jprante/elasticsearch-skywalker: Skywalker for Elasticsearch is like Luke for Lucene](https://github.com/jprante/elasticsearch-skywalker)
> > > > > 
> > > > > --  
> > > > > Ivan
> > > > > 
> > > > > What do you mean by "… close and re-open the index"?
> > > > > 
> > > > > Thanks.
> > > > > 
> > > > > On Sun, Jan 27, 2013 at 8:18 AM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> > > > > wrote:
> > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > Tried to open elasticsearch lucene files
> 
> (elasticsearch-0.20.2\elasticsearch-0.20.2\data\elasticsearch\nodes\0\indices\musicstore\4\index)
> 
> > > > > > with Luke, and I get the message "unknown format version: -11".
> > > > > > 
> > > > > > Is it possible at all to open with Luke? Does elasticsearch saves to  
> > > > > > lucene the same way when working with lucene directly?
> > > > > > 
> > > > > > Thanks,
> > > > > > 
> > > > > > Ophir
> > > > > > 
> > > > > > --
> > > > 
> > > > --
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).
> > 
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> Met vriendelijke groet,
> 
> Martijn van Groningen
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)\
**Post date:** [February 4, 2013, 10:28am UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/8 "2013-02-04T10:28:58Z")

</div>

Hi,

Do you know if it is possible to open an elasticsearch shard (lucene 3.6.2)  
with c# code using lucene 3.0.3 for dot net?

I tried the following code and I get the error "Unknown format version:  
-11",

which is the same error when trying to open elasticsearch with luke that  
uses a lucene version older than 3.6.2.

Thanks,

Ophir

On Wed, Jan 30, 2013 at 7:00 PM, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com)wrote:

> Thanks!
> 
> Downloaded Luke 4 and it works.
> 
> On Tue, Jan 29, 2013 at 5:05 PM, Martijn v Groningen \<  
> [martijn.v.groningen@gmail.com](mailto:martijn.v.groningen@gmail.com)\> wrote:
> 
> > Is the Lucene version of Luke the same as the Elasticsearch version?  
> > Elasticsearch 0.20.2 uses Lucene version 3.6.2.
> > 
> > Martijn
> > 
> > On 29 January 2013 10:45, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com) wrote:
> > 
> > > I closed and open the index, but still not able to open with Luke.  
> > > thanks a-lot, Ophir
> > > 
> > > On Monday, January 28, 2013 8:49:11 PM UTC+2, Ivan Brusic wrote:
> > > 
> > > > Indices are Lucene indices, so you can open and close them at will:
> > 
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close.html)
> > 
> > > > --  
> > > > Ivan
> > > > 
> > > > On Mon, Jan 28, 2013 at 3:05 AM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> > > > wrote:
> > > > 
> > > > > On Sunday, January 27, 2013 6:41:41 PM UTC+2, Ivan Brusic wrote:
> > > > > 
> > > > > > The only way I have been able to use Luke is to close and re-open the  
> > > > > > index. Executing a flush would render the index useless.
> > > > > > 
> > > > > > There is a plugin available that promise Luke-like functionality,  
> > > > > > but I  
> > > > > > have never used it:  
> > > > > > [GitHub - jprante/elasticsearch-skywalker: Skywalker for Elasticsearch is like Luke for Lucene](https://github.com/jprante/elasticsearch-skywalker)
> > > > > > 
> > > > > > --  
> > > > > > Ivan
> > > > > > 
> > > > > > What do you mean by "… close and re-open the index"?
> > > > > > 
> > > > > > Thanks.
> > > > > > 
> > > > > > On Sun, Jan 27, 2013 at 8:18 AM, Ophir Michaeli \<[ophirm...@gmail.com](mailto:ophirm...@gmail.com)
> > > 
> > > > > > wrote:
> > > > > > 
> > > > > > > Hi,
> > > > > > > 
> > > > > > > Tried to open elasticsearch lucene files
> > 
> > (elasticsearch-0.20.2\elasticsearch-0.20.2\data\elasticsearch\nodes\0\indices\musicstore\4\index)
> > 
> > > > > > > with Luke, and I get the message "unknown format version: -11".
> > > > > > > 
> > > > > > > Is it possible at all to open with Luke? Does elasticsearch saves to  
> > > > > > > lucene the same way when working with lucene directly?
> > > > > > > 
> > > > > > > Thanks,
> > > > > > > 
> > > > > > > Ophir
> > > > > > > 
> > > > > > > --
> > > > > 
> > > > > --
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an  
> > > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).
> > > 
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > Met vriendelijke groet,
> > 
> > Martijn van Groningen
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:53am UTC](https://discuss.elastic.co/t/open-elasticsearch-lucene-files-with-luke/10519/9 "2017-07-06T02:53:10Z")

</div>


