# Luke with elasticsearch

**URL:** <https://discuss.elastic.co/t/luke-with-elasticsearch/5096>\
**Category:** Elasticsearch\
**Created:** [August 9, 2011, 9:07am UTC](https://discuss.elastic.co/t/luke-with-elasticsearch/5096 "2011-08-09T09:07:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![OlgaT](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@OlgaT](https://discuss.elastic.co/u/OlgaT)\
**Post date:** [August 9, 2011, 9:07am UTC](https://discuss.elastic.co/t/luke-with-elasticsearch/5096/1 "2011-08-09T09:07:06Z")

</div>

Hi,

I would like to check correctness of my mapping using Luke and I don't  
success.  
How can I solve the problem? May be there is other tool that I can  
check the mapping with it.

Thanks,  
Olga

---

<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:** [August 9, 2011, 9:10am UTC](https://discuss.elastic.co/t/luke-with-elasticsearch/5096/2 "2011-08-09T09:10:22Z")

</div>

If you use get mapping, you will get the mappings elasticsearch uses (its  
not a plain dump of what you provided, but a normalized form of what  
elasticsearch "understood"). You should be able to open Luke against a  
single shard index data...

On Tue, Aug 9, 2011 at 12:07 PM, OlgaT [tubmano@gmail.com](mailto:tubmano@gmail.com) wrote:

> Hi,
> 
> I would like to check correctness of my mapping using Luke and I don't  
> success.  
> How can I solve the problem? May be there is other tool that I can  
> check the mapping with it.
> 
> Thanks,  
> Olga

---

<div class="post-metadata">

**Author:** ![OlgaT](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@OlgaT](https://discuss.elastic.co/u/OlgaT)\
**Post date:** [August 9, 2011, 9:13am UTC](https://discuss.elastic.co/t/luke-with-elasticsearch/5096/3 "2011-08-09T09:13:10Z")

</div>

I use one shard and it doesn't work with Luke

On Tue, Aug 9, 2011 at 12:10 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> If you use get mapping, you will get the mappings elasticsearch uses (its  
> not a plain dump of what you provided, but a normalized form of what  
> elasticsearch "understood"). You should be able to open Luke against a  
> single shard index data...
> 
> On Tue, Aug 9, 2011 at 12:07 PM, OlgaT [tubmano@gmail.com](mailto:tubmano@gmail.com) wrote:
> 
> > Hi,
> > 
> > I would like to check correctness of my mapping using Luke and I don't  
> > success.  
> > How can I solve the problem? May be there is other tool that I can  
> > check the mapping with it.
> > 
> > Thanks,  
> > Olga

---

<div class="post-metadata">

**Author:** ![Curtis\_Caravone](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@Curtis\_Caravone](https://discuss.elastic.co/u/Curtis_Caravone)\
**Post date:** [August 9, 2011, 3:46pm UTC](https://discuss.elastic.co/t/luke-with-elasticsearch/5096/4 "2011-08-09T15:46:51Z")

</div>

I've had success using luke 3.1.0 to open index shards from elasticsearch  
0.16.2 and 0.17.2. The Lucene directory to open will be something like:  
\<elasticsearch\_home\>/data/\<cluster\_name\>/nodes/\<node\_number\>/indices/\<index\_name\>/\<shard\_number\>/index/.

Curtis

On Tue, Aug 9, 2011 at 2:13 AM, Olga Tubman [tubmano@gmail.com](mailto:tubmano@gmail.com) wrote:

> I use one shard and it doesn't work with Luke
> 
> On Tue, Aug 9, 2011 at 12:10 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> 
> > If you use get mapping, you will get the mappings elasticsearch uses (its  
> > not a plain dump of what you provided, but a normalized form of what  
> > elasticsearch "understood"). You should be able to open Luke against a  
> > single shard index data...
> > 
> > On Tue, Aug 9, 2011 at 12:07 PM, OlgaT [tubmano@gmail.com](mailto:tubmano@gmail.com) wrote:
> > 
> > > Hi,
> > > 
> > > I would like to check correctness of my mapping using Luke and I don't  
> > > success.  
> > > How can I solve the problem? May be there is other tool that I can  
> > > check the mapping with it.
> > > 
> > > Thanks,  
> > > Olga

---

<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:57am UTC](https://discuss.elastic.co/t/luke-with-elasticsearch/5096/5 "2017-07-06T03:57:44Z")

</div>


