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
0
votes
3 answers

Error launching Luke(Java App) from WinXP

I downloaded luke-1.0.1.jar (Luke 1.0.1 binary without any dependencies) from http://code.google.com/p/luke/downloads/list. And I have WinXP, with latest Java 6 downloaded from Oracle/Sun web site. I run the command line: "java -jar luke-1.0.1.jar"…
hardywang
  • 4,864
  • 11
  • 65
  • 101
0
votes
1 answer

Lucene Search Luke vs Hibernate Search different result

I am running the following lucene query phrase in luke: +(debtorNumber:10200000 originalDebtorNumber:10200000) +(serviceName:"skype for"^840.0 (serviceName:for* serviceId:for*) (serviceName:skype* serviceId:skype*)) shows at the beginning…
adrian
  • 11
  • 4
0
votes
0 answers

How to solve Luke: error java.lang.RuntimeException: No valid directory at the location when trying to open lucene index directory?

Im trying to read/analyze the index files but I get the error below when i try to open the lucene index directory [2018-03-27 18:12:33,424] ERROR (LukeController.java:181) - Failed to open index:…
sherpaurgen
  • 3,028
  • 6
  • 32
  • 45
0
votes
1 answer

Lucene - Cannot find value in field via query

I'm new in lucene and I'm trying to find all documents with a exact value in exact field. In index (using luke) is visible, that field __r_ani contains numeric value 567248953 But when I try to search in this index, lucene returns no results. I…
Pivoman
  • 4,435
  • 5
  • 18
  • 30
0
votes
0 answers

Unable to search unrecognizable DateTime format in Jira Lucene index

I am trying to perform a date range search on a Lucene index generated by Atlassian Jira. I have found serveral guides on how to do range queries (such as this guide), typically resulting in queries similar to: customfield_10106:[2010-01-10-00-00-00…
Tormod Haugene
  • 3,538
  • 2
  • 29
  • 47
0
votes
1 answer

Dynamically retrieve all fields present in Solr documents

Is it possible to dynamically retrieve all fields present in a set of Solr documents and still maintain reasonable performance? The end goal here is to dynamically populate a list of numeric fields for users to sort their current query upon. In a…
kgrimes2
  • 136
  • 3
  • 12
0
votes
1 answer

Using Lucene Fuzzy search with a word that has no aliases

I wish do searches using fuzzy search. Using Luke to help me, if I search for a word that has aliases (eg similar words) it all works as expected: However if I enter a search term that doesn't have any similar words (eg a serial code), the search…
Sprintstar
  • 7,938
  • 5
  • 38
  • 51
0
votes
0 answers

How to get dynamicField from solr in java which is of map datatype in cassandra database

I need to fetch a dynamicField (test_*) from solr engine. I am unable to get the output as it gives nullpointerexception. Map myMap = (Map) result1.get(i).getFieldValue("test_*"); QueryResponse response1 =…
0
votes
1 answer

How to use PerFieldAnalyzerWrapper in luke tool?

How to use PerFieldAnalyzerWrapper in Luke tool ? For one field we have KeywordAnalyzer and other field StandardAnalyzer, So want to search using PerfieldAnalyzer in Luke tool, using Lucene 4.2.0. Is it possible?
user3467346
  • 47
  • 10
0
votes
2 answers

Lucene index field not searchable

So I have a field in my Lucene index documents named "Field1" (for all intents and purposes). When I open Luke, and browse the documents, I see most of the documents have this field. However when I switch to the search tab, and I input…
Bardicer
  • 1,405
  • 4
  • 26
  • 43
0
votes
1 answer

Analyze terms which get indexed in ElasticSearch

So I have a custom built analyzer which adds additional terms from an ontology. Additionally, I want to do a stemming of the terms before they get indexed. Following is the index metadata fetched from the elasticsearch head plugin. { "state":…
Tanny
  • 540
  • 4
  • 29
0
votes
1 answer

lucene errror: Indexing to directory 'c:/index'... adding 1234 java.lang.IllegalArgumentException: value cannot be null 1002 total milliseconds

package lucene; import java.io.File; import java.nio.file.FileSystems; import java.nio.file.Path; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import…
gupta k
  • 23
  • 1
  • 9
0
votes
1 answer

Lucene index deleted when opening with Luke/Indexreader

I was creating a lucene index when my indexing program crashed. The indexer had processed about 3M documents before crashing, producing a 14GB file. When I opened the index in Luke (with force unlock), the whole index was gone!. poof. The opened…
Midhat
  • 17,454
  • 22
  • 87
  • 114
0
votes
1 answer

Luke (in Lucene): How do I change the value of a field?

I'm using Luke (for my Lucene index) and I want to change the value of a field. Perhaps I'm blind, but I simply don't find it where I can do that (ok, I found out how to add a field, but not change an existing field). Just in case, I can't change a…
Bernie
  • 1,607
  • 1
  • 18
  • 30
0
votes
1 answer

retrieve analysed shingles from solr doc (lucene, luke)

I have created a solr field as follows: