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
1
vote
0 answers

How does the Lucene tool Luke determine a file count?

Using Luke, it is showing 348K files in the Lucene index. Our repository, after being queried using SQL commands via ACCE (IBM Connections storing files in Connections Content Manager [ie. FileNet]) is coming back with 345K files users have…
Pete Tete
  • 11
  • 1
1
vote
2 answers

Inspecting Lucene.NET index with Luke want to replicate NHibernate.Search view

I am trying to put together an index using terms, which I specify as a comma separated list. I want to replicate the display in Luke as seen here: http://ayende.com/Blog/archive/2009/05/03/nhibernate-search-again.aspx But my index value just shows…
Tim Peel
  • 2,274
  • 5
  • 27
  • 43
1
vote
1 answer

Adding custom Analyzers to Luke

Luke, the wonderful Lucene index viewer, is now hosted under Google code. As a default, it supports using several Lucene Analyzers out of the box. However, I would like to use it to view an index I built using my own custom Analyzer, Let's call it…
Yuval F
  • 20,565
  • 5
  • 44
  • 69
1
vote
2 answers

Lucene StandardAnalyzer - multiple spaces in the query phrase

When creating org.apache.lucene.document.Document during indexing I create a org.apache.lucene.document.StringField which has multiple spaces together e.g. "ID____45_2013". I use org.apache.lucene.analysis.standard.StandardAnalyzer for creating the…
Marcin Sanecki
  • 1,324
  • 3
  • 19
  • 35
1
vote
2 answers

Solr LukeRequest is returning an empty fieldInfo map

I am trying to inspect a solr schema using LukeRequest. I am able to browse the schema using solr admin schema browser. However when I try to retrieve it using the following piece of code it returns an empty field info map String url =…
subodh
  • 337
  • 2
  • 6
  • 18
1
vote
2 answers

Why can't Luke(4.0.0-ALPHA) open the Lucene4.0's index files?

I used Lucene4.0 to make index files: File directorycreate = new File(indexpath); Directory dir = new SimpleFSDirectory(directorycreate); Analyzer analyzer = new IKAnalyzer(true); …
Changqi Cai
  • 89
  • 1
  • 5
0
votes
3 answers

How do I implement search for int values in hibernate search?

I'm trying to perform a search for an integer value. I have annotated the param with @Field like this: @Field(name = "confirmedCount", index = UN_TOKENIZED, store = Store.YES) public int getConfirmedCount() { return stuff.size(); } I then…
jakob
  • 5,979
  • 7
  • 64
  • 103
0
votes
1 answer

Apache Solr topTerms (LukeRequestHandler) not giving correct token count

I am using the Solr 4 trunk build, a couple days old. According to the Wiki page for the LukeRequestHandler (first example output), we're supposed to get a count of the tokens for each or any specified field. I want to use this to make a count of…
deed02392
  • 4,799
  • 2
  • 31
  • 48
0
votes
0 answers

How to download packages from latest maven central incremental/index

In a paper I am working on for my Uni project, I need to analyze maven packages. I need the pom files of these packages to then parse them and get the necessary data to create a graph and analyze it. The supervisor told me to download the latest…
Denxah129
  • 23
  • 6
0
votes
1 answer

Sitefinity new Document SetBoost

I am collecting external data and then doing an ServiceBus.ResolveService().UpdateIndex. This is working great but I wanted to SetBoost on the new Document. I have created an flag setboost with is using doc.SetBoost(1.5f); but I am…
Jefferson
  • 71
  • 3
  • 12
0
votes
0 answers

Extracting specific pair of information from Lucene index output

I have used Lucene library as the indexing and keyword extracting tool to index my document. However, I don't want to use the search query provided in Lucene as I wish to develop my own separate searching algorithm/program. May I know is there any…
supdev
  • 31
  • 1
  • 2
0
votes
1 answer

Lucene StandardAnalyzer not converting to lowercase when writing index

I am using Lucene 8.3 and experience an unexpected behavior of the StandardAnalyzer. In order to isolate the problem I managed to produce the same behavior with Luke. Here's the description for Luke: I am creating a new document, using…
gufidown
  • 82
  • 1
  • 8
0
votes
1 answer

Solr queryparser for lucene indices?

I've created an index (using Lucene 2.9) which stores text messages. (the documents also contain some other meta data which are not indexed, just stored) I use the StandardAnalyzer for parsing these messages. I'm trying to run some tests on this…
fsm
  • 407
  • 2
  • 7
  • 19
0
votes
1 answer

How to use Lucene Luke for testing search results on more than one field?

I am using Lucene Luke to test search index results and noticed that I cannot select more than one field in 'Default field' drop down list. Is this by design or we cannot use Luke tool for searching against multiple fields? Basically I would like to…
cnu
  • 461
  • 8
  • 19
0
votes
1 answer

Phrase query on not analyzed field not working

I have a product search index with a field "productOptions", that contains serialized JSON, meaning it may contain either an empty array for products with no options, or an array with options for products with product options: [] [{ optionId: "",…
William
  • 733
  • 4
  • 10
  • 22