Questions tagged [luke]

Luke is a development and diagnostic tool, which accesses already existing Lucene indexes and allows you to display and modify their content.

Luke is a development and diagnostic tool, which accesses already existing Lucene indexes and allows you to display and modify their content. The tools supports indexes created with Lucene / Solr / Elasticsearch. Actively developed at: https://github.com/DmitryKey/luke

79 questions
20
votes
4 answers

Show contents of Lucene index

I am trying to debug indexing documents in Lucene, and I need to see the contents of the index so I can see exactly how the documents got indexed. Allegedly Luke does this, but there is no documentation for it whatsoever, and when I point it at the…
cbmanica
  • 3,502
  • 7
  • 36
  • 54
14
votes
4 answers

How to run Luke(Lucene tool)?

I had downloaded 'Lukeall-3.5.0' on http://code.google.com/p/luke/downloads/list It's a JAR file , but i don't know how let it work? Can somebody show me the detailed steps to run Luke? Thank you!
Jonathan
  • 403
  • 2
  • 7
  • 16
7
votes
2 answers

Upgrade solr 1.4 index to solr 3.3?

I have an existing index build using apache solr 1.4. I want to use this existing index in version 3.3. As you know the index format is changed after 3.x, so how is it possible to do this? I have exported the existing index (that is in 1.4 version)…
Tamer El-Nasser
  • 249
  • 1
  • 3
  • 6
7
votes
2 answers

How to view Lucene Index

I am trying to learn and understand how lucene works, what is inside lucene index. Basically i would want to see how the data is represented inside lucene index? I am using lucene-core 8.6.0 as dependency Below is my very basic Lucene code …
Nag
  • 127
  • 2
  • 8
7
votes
1 answer

Sorting Lucene docs in Luke

I want to fire up a query in luke for luncene indexed document. I want to sort the results before they are fetched. What is the lucene syntax to sort the data. I don't need java/or-language-specific code to sort; instead raw lucene syntax to sort…
Priyank
  • 14,231
  • 18
  • 78
  • 107
7
votes
3 answers

Lucene.net - Crashes during indexing

My indexer, using Lucene, seems to crash during indexing operations after writing an index file approximately 16GB in size. The stack trace written to the console is repeated three times for reasons I don't know. For brevity I've only supplied the…
Dai
  • 141,631
  • 28
  • 261
  • 374
6
votes
1 answer

How to read lucene 5.5.5 index?

What version of Luke is able to read 5.5.5 lucene's indexes? I've tried with Luke 4.10, 5.2, 5.5, 7.2 but always get this: Invalid directory at the location, check console for more information. Last…
6
votes
3 answers

Elasticsearch and luke

How can I open an elasticsearch index with luke? I tried luke from 3.5 to 4.8, with elasticsearch 1.1 to 1.2 and nothing seems to work. The only resource that seemed to apply was http://rosssimpson.com/blog/2014/05/06/using-luke-with-elasticsearch/…
yannisf
  • 6,016
  • 9
  • 39
  • 61
6
votes
1 answer

Luke 4.6.1 FormatTooNew error?

So I'm trying to use Luke for the first time and I'm having some trouble. I point it to the directory I want, but see this: org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource:…
Kmanc
  • 349
  • 1
  • 5
  • 20
5
votes
2 answers

How can I check Solr index using Luke

How can I check my solr index using Luke? I tried pointing to my index location (solr/core1/data/index). But I am getting the error Unknown format version: -12
Joyce Babu
  • 19,602
  • 13
  • 62
  • 97
5
votes
1 answer

Luke says my Lucene index directory is Invalid

I'm trying to learn about Lucene, and hope to use Luke to investigate it. I tried building an index with the IndexFiles demo in Lucene 4.3, then tried viewing the index with the latest version of Luke, and I'm getting the message: Invalid directory…
user3124028
  • 51
  • 1
  • 3
5
votes
1 answer

Luke Where are my field values?

I've used Luke like four times per year for the past three years. I only break it out when I need it. One concept I've never understood is why only certain fields' values are displayed. I can query these "empty" fields for expected values and get…
Dzejms
  • 3,108
  • 2
  • 30
  • 40
4
votes
2 answers

Luke Lucene BooleanQuery

In Luke, the following search expression returns 23 results: docurl:www.siteurl.com docfile:Tomatoes* If I pass this same expression into my C# Lucene.NET app with the following implementation: IndexReader reader =…
Dzejms
  • 3,108
  • 2
  • 30
  • 40
4
votes
1 answer

Luke reveals unknown term values for numeric fields in index

We use Lucene.net for indexing. One of the fields that we index, is a numeric field with the values 1 to 6 and 9999 for not set. When using Luke to explore the index, we see terms that we do not recognize. The index contains a total of 38673…
Vegar
  • 12,828
  • 16
  • 85
  • 151
3
votes
4 answers

Lucene numeric range search with LUKE

I have a number of numeric Lucene indexed fields: 60000 78500 105000 If I use LUKE to query for 78500 as follows: price:78500 It returns the correct record, however if I try to return all three record as a range I get no results. price:[60000 TO…
Kevin
  • 1,009
  • 1
  • 11
  • 23
1
2 3 4 5 6