Luke with elasticsearch


(OlgaT) #1

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


(Shay Banon) #2

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 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


(OlgaT) #3

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 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 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


(Curtis Caravone) #4

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 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 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 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


(system) #5