Search Discussions

88 discussions - 310 posts

  • Hello, We have an application that relies heavily on caching OpenBitSets for reuse across multiple threads, and therefore multiple threads. I am looking into ways for making this both efficient and ...
    Nader, John PNader, John P
    Apr 27, 2011 at 6:29 pm
    Apr 28, 2011 at 2:32 pm
  • I try to apply German*Filter and or Analyzer on my index. My index contains wine names such as "Petite Arvine" ( I know, that's french ;) ). Whenever one oft he German*Filter or German*Analyzer is in ...
    Clemens WyssClemens Wyss
    Apr 12, 2011 at 1:43 pm
    Apr 18, 2011 at 11:36 am
  • Hi, I've just started using the ComplexPhraseQueryParser and it works great with one field but is there a way for it to work with multiple fields? For example, right now the query: job_title: "sales ...
    Chris SalemChris Salem
    Apr 29, 2011 at 1:54 pm
    Jun 23, 2011 at 1:18 pm
  • Is there a built debug version of lucene 3.0.3 so I can profile it properly to find what part of the search is taking the time. Note:Ive already profiled by application and determined that it is the ...
    Paul TaylorPaul Taylor
    Apr 29, 2011 at 11:09 am
    Apr 29, 2011 at 9:24 pm
  • Hello everybody, I am currently testing several new Lucene 4.0 codec implementations to compare with an own solution. The difference is that I am only indexing frequencies and not positions. I would ...
    Alex vBAlex vB
    Apr 22, 2011 at 1:52 am
    Apr 23, 2011 at 8:40 pm
  • Hi, I'm looking at some code that uses MemoryIndex (Lucene 3.1) and that's exhibiting a strange behaviour - it slows down over time. The MemoryIndex contains 1 doc, of course, and executes a set of a ...
    Otis GospodneticOtis Gospodnetic
    Apr 28, 2011 at 9:17 pm
    Apr 29, 2011 at 7:54 pm
  • Hi, dear experts: When IndexReader.termsPositions is used to access specific terms, the call to TermsPosition.nextPosition success if TermsPosition.next is used. But if TermsPosition.skipTo is used ...
    袁武 [GMail]袁武 [GMail]
    Apr 1, 2011 at 3:34 am
    Apr 7, 2011 at 2:48 pm
  • Hello list, I am currently trying to understand Lucene's Near-Real-Time-Feature which was covered in "Lucene in Action, Second Edition". Let's say I got a distributed system with a master and a ...
    Apr 10, 2011 at 8:35 am
    Apr 12, 2011 at 5:00 am
  • Hi My application is cluster in jobss application servers & lucene directory was shared. Concurrently 5 user access same lucene directory for searching document That time I got bellow exception ...
    Yogesh DabhiYogesh Dabhi
    Apr 5, 2011 at 11:56 am
    Apr 8, 2011 at 12:55 pm
  • Hi java-users I need some help. I am indexing categories into a single field category_path Which may contain items such as /Top/Books,/Top/My Prods/Book Prods/Text Books, /Maths/Books/TextBooks i.e. ...
    Mark WiltshireMark Wiltshire
    Apr 5, 2011 at 9:19 pm
    Apr 7, 2011 at 11:22 am
  • Problem trying to merge indexes in the background whilst building some others, works okay on my humble labtop but fails on another machine, although it seems to allow 700,000 file handles Exception ...
    Paul TaylorPaul Taylor
    Apr 4, 2011 at 7:06 pm
    Apr 6, 2011 at 10:45 am
  • Hi, I am using Lucene 2.9.4 with FSDirectory. My index has 80 thousand documents (each document has 12 fields). My jvm has 70Mb of RAM memory (limited by my hosting). I am getting various ...
    Apr 4, 2011 at 11:13 am
    Apr 5, 2011 at 5:04 pm
  • Hi, I have created my own custom analyzer and uses jFlex to made search for c#, .net, c++ etc. While I am trying to search c#, .net, c++ QueryParser parse .net to .net and C++ to C++. So it works ...
    Ranjit KumarRanjit Kumar
    Apr 26, 2011 at 1:58 pm
    Apr 27, 2011 at 3:37 pm
  • Hi, I've been researching about clustering with Lucene. Here is what I've found so far, 1) Lucene clustering with Carrot2 - http://download.carrot2.org/head/manual/#section.getting-started.lucene - ...
    Vivek sarVivek sar
    Apr 26, 2011 at 11:49 am
    Apr 27, 2011 at 6:20 am
  • Hallo there, my issue qualifies as newbie question I guess, but I'm really a bit confused. I have an index which has not been created by Solr. Perhaps that's already the point although I fail to see ...
    Erik FäßlerErik Fäßler
    Apr 19, 2011 at 8:00 pm
    Apr 20, 2011 at 11:48 am
  • Hi all, I have been looking for information about this and found a few things here and there but nothing very clear on when files are opened and closed by Lucene. We have an application that uses ...
    Jean-Baptiste ReureJean-Baptiste Reure
    Apr 5, 2011 at 7:49 am
    Apr 7, 2011 at 5:41 am
  • Hi, I recently discovered that I need to add a single field to every document in an existing (very large) index. Reindexing from scratch is not an option I want to consider right now, so I wrote a ...
    Chris BamfordChris Bamford
    Apr 8, 2011 at 2:44 pm
    May 17, 2011 at 12:52 pm
  • Hello, I went to look at the "Hudson nightly builds" and tried to follow the link from the main Lucene page http://lucene.apache.org/java/docs/developer-resources.html#Nightly The links to the Clover ...
    Burton-West, TomBurton-West, Tom
    Apr 29, 2011 at 9:15 pm
    May 2, 2011 at 7:45 pm
  • I keep my search terms in a dedicated RAMDirectory (the termIndex). In there I palce all the term of my real index. When putting the terms into the termIndex I can still see [using the debugger] the ...
    Clemens WyssClemens Wyss
    Apr 21, 2011 at 3:03 pm
    Apr 26, 2011 at 6:16 am
  • Hi, guys I want to stem some English text. For example: String stemTerm(String term){ ... } We can get the stemmed term of the input term. Does any one knows how to use lucene to achieve this target? ...
    Wenlei zhouWenlei zhou
    Apr 24, 2011 at 11:14 am
    Apr 25, 2011 at 5:58 pm
  • Hello everyone, my name is Lars. I'm new to Java and especially to Lucene. For your understanding I tell you in short what I'm about to do: I'm a student from Germany and currently I'm working at our ...
    Apr 24, 2011 at 7:17 pm
    Apr 25, 2011 at 10:12 am
  • Hi, I need to collect some diagnostic info from customer sites, so I would like to get info on the status of lucene indexes...but I don't want the process of collecting to take very long. So I am ...
    Apr 14, 2011 at 3:57 pm
    Apr 14, 2011 at 8:12 pm
  • I'm converting a Lucene 2.3.2 to 2.4.1 (with a view to going to 2.9.4). Many of our indexes are 5M+ Documents, however, only a small subset of these are relevant to any user. As a DocIdSet, backed by ...
    Antony BowesmanAntony Bowesman
    Apr 5, 2011 at 6:25 am
    Apr 5, 2011 at 3:06 pm
  • Is there a way to index data into memory without writing to disk in Lucene ? This is my current code storing it on disk writer = new IndexWriter(FSDirectory.open(index_dir), new ...
    Patrick DiviaccoPatrick Diviacco
    Apr 1, 2011 at 10:10 am
    Apr 4, 2011 at 11:24 am
  • I am having some issues with SpanNearQuery: SpanQuery[] clauses = new SpanTermQuery[2]; Clauses[0] = new SpanTermQuery("text","aaaa"); Clauses[1] = new SpanTermQuery("text","bbbb"); SpanNearQuery q = ...
    Gregory TarrGregory Tarr
    Apr 1, 2011 at 10:31 am
    Apr 1, 2011 at 11:21 am
  • This is the code in IndexReader.close(): public final synchronized void close() throws IOException { if (!closed) { decRef(); closed = true; } } What strikes me as odd is that “closed” variable is ...
    Alexey LefAlexey Lef
    Apr 26, 2011 at 12:47 pm
    May 13, 2011 at 1:27 pm
  • Hi, Can anyone please tell where I could download *packages org.apache.lucene.analysis.* *so that I could use them in lucene 3.1 version. I have *deprecated version* for the above mentioned package. ...
    Tanuj JainTanuj Jain
    Apr 28, 2011 at 1:15 pm
    Apr 28, 2011 at 8:55 pm
  • Hello Champions !! I have a problem with indexation(or should I say its time); So the elements to Index are represtented by my own class - DocumentToIndex that consists of Fields(one Field is a ...
    Apr 6, 2011 at 9:08 am
    Apr 15, 2011 at 10:11 am
  • I was wondering whats the difference between the Lucene's 2 implementation of highlighters... I saw the javadoc of FVH, but it only says "another implementation of Lucene Highlighter" ... Can someone ...
    Apr 1, 2011 at 12:33 pm
    Apr 11, 2011 at 3:48 pm
  • Hi All, I am using Lucene 3.0.3. I noticed when I called clearAttributes() from my Tokenizer, the attributes in my TermAttribute object are not being cleared. I found the issue tracking here at ...
    Ye T ThetYe T Thet
    Apr 30, 2011 at 3:28 pm
    May 1, 2011 at 1:03 am
  • Is Okapi BM25 (its implementation in Lucene: nlp.uned.es/~jperezi/Lucene-BM25) returning back normalized query scores (in between 0 and 1) ? According to Okapi formula the final score should be ...
    Patrick DiviaccoPatrick Diviacco
    Apr 28, 2011 at 11:49 am
    Apr 29, 2011 at 11:48 am
  • Hi, Currently when I type in Arcos Bioscience in my lucene search, it returns all those documents with either Arcos or Bioscience at the top of the search results and the actual document containing ...
    Deepak KonidenaDeepak Konidena
    Apr 26, 2011 at 6:47 pm
    Apr 26, 2011 at 10:22 pm
  • Hello, I am trying to add spatial search functionality to my application, but having a trouble regarding lucene's spatial search. It's very simple functionality: searching all items within given ...
    Apr 22, 2011 at 5:44 pm
    Apr 23, 2011 at 2:03 am
  • Hi, buddies, I'm reading something about solr and elastic-search, the thing i have been curious is how to make search engine distributed(using something like hadoop?). I readed something about shards ...
    Weiwei WangWeiwei Wang
    Apr 19, 2011 at 1:23 pm
    Apr 21, 2011 at 9:03 am
  • Three Instance of My application & they access common lucene directory Instance1 jdk64 ,64 os Instance2 jdk64 ,64 os Instance3 jdk32 ,32 os When I access folder from Instance1 I got bellow error An ...
    Yogesh DabhiYogesh Dabhi
    Apr 20, 2011 at 12:36 pm
    Apr 21, 2011 at 7:19 am
  • I get the following error message: java.lang.UnsupportedOperationException with Lucene search method: topDocs = searcher.search(booleanQuery, null, 100); I'm using an old version of Lucene: Lucene ...
    Patrick DiviaccoPatrick Diviacco
    Apr 19, 2011 at 2:11 pm
    Apr 20, 2011 at 6:52 am
  • Hello, I have a few questions about boosting in Lucene. I am running a research project where I have, for each document, 4 fields: f1, f2, f3, f4. I also have a set of queries for my corpus, and I ...
    Apr 16, 2011 at 3:44 pm
    Apr 18, 2011 at 9:49 am
  • Migrating some code from 2.3.2 to 2.9.4 and I have custom Collectors. Now there are multiple calls to collect and each call needs to adjust the passed doc id by docBase as given in SetNextReader. ...
    Antony BowesmanAntony Bowesman
    Apr 18, 2011 at 9:19 am
    Apr 18, 2011 at 9:44 am
  • I'm new to lucene/search engine , and have been struggling with these questions recently. I'd appreciate a lot of you could shed some light on this. let's say I do a query on dog greyhound note that ...
    Apr 8, 2011 at 4:18 am
    Apr 13, 2011 at 3:53 pm
  • Lucene's IndexWriter allows users to update documents by Term via this method signature: void updateDocument(Term term, Document doc) But what about updating them by Query? Like so: void ...
    Pulkit SinghalPulkit Singhal
    Apr 13, 2011 at 1:15 pm
    Apr 13, 2011 at 1:51 pm
  • Hi, I am creating index with help of StandardAnalyzer for *.docx file it's fine. But at the time of searching it do not gives result for these *.docx file. any help or suggestion will be ...
    Ranjit KumarRanjit Kumar
    Apr 12, 2011 at 1:08 pm
    Apr 12, 2011 at 6:43 pm
  • We have been using org.apache.lucene.search.ChaniedFilter in our application that uses lucene 3.0.3. Today we downloaded version 3.1.0, but the code wont compile. It says that it could not find ...
    Siraj HaiderSiraj Haider
    Apr 7, 2011 at 10:33 pm
    Apr 7, 2011 at 10:46 pm
  • Hi, I'm new to Lucene, so forgive me if this is a newbie question. I have a dataset composed of several thousand lists of 128 integer features, each list associated with a class label. Would it be ...
    Chris SpencerChris Spencer
    Apr 6, 2011 at 11:47 pm
    Apr 7, 2011 at 12:05 pm
  • If there is a phrase in search, the highlighter highlights every word separately.. Like this : I love Lucene Instead what I want is like this : I love Lucene Is there a way to ask Lucene do this ? I ...
    Apr 6, 2011 at 5:02 am
    Apr 6, 2011 at 10:03 am
  • Hi, for indexing PDF files we have to undo word hyphenation. The basic idea is simply to remove the hyphen when a new line and a small letter follows. Of course this approach isnt 100%-foolproofed ...
    Wulf BerschinWulf Berschin
    Apr 1, 2011 at 3:50 pm
    Apr 4, 2011 at 12:21 pm
  • Hi Concurrently 5 user access same lucene directory for searching document That time I got bellow exception org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed is there a way ...
    Yogesh DabhiYogesh Dabhi
    Apr 1, 2011 at 7:14 pm
    Apr 4, 2011 at 6:21 am
  • Hi, dear experts: Assume that a tuple is composed of <<A1, B1, C1 ,<A2,B2,C2 ,...,<AN,BN,CN , Value . IF AK is stored in Field A, BK is stored in Field B, CK is stored in Field C (1<=K<=N), so there ...
    袁武 [GMail]袁武 [GMail]
    Apr 1, 2011 at 4:28 am
    Apr 2, 2011 at 8:22 am
  • I see in the JavaDoc for IndexWriterConfig that: "Note that IndexWriter makes a private clone; if you need to subsequently change settings use IndexWriter.getConfig()." However when I attempt to use ...
    Christopher ConditChristopher Condit
    Apr 1, 2011 at 8:07 pm
    Apr 1, 2011 at 10:16 pm
  • Hi, I know the default is sort by relevance. While, when i search the prefix (interface*), it does not work. It can only sort the document by the order of reading files. What is the problem??? Thx.
    Apr 1, 2011 at 2:15 pm
    Apr 1, 2011 at 4:22 pm
  • Hi, Is there any reason why one would *not* want to reuse Query instances? I'm using MemoryIndex with a fixed set of queries and I'm executing them all on each new document that comes in. Because ...
    Otis GospodneticOtis Gospodnetic
    Apr 30, 2011 at 3:21 am
    Apr 30, 2011 at 7:45 am
Group Navigation
period‹ prev | Apr 2011 | next ›
Group Overview
groupjava-user @

96 users for April 2011

Michael McCandless: 20 posts Erick Erickson: 14 posts Patrick Diviacco: 14 posts Ian Lea: 12 posts Uwe Schindler: 12 posts Simon Willnauer: 11 posts Clemens Wyss: 10 posts Robert Muir: 9 posts Steven A Rowe: 9 posts Dawid Weiss: 8 posts 袁武 [GMail]: 8 posts Alex vB: 7 posts Otis Gospodnetic: 7 posts Jm: 6 posts Paul Taylor: 6 posts Anshum: 5 posts Antony Bowesman: 5 posts Christopher Condit: 5 posts Mark Wiltshire: 5 posts Shrinath.m: 5 posts
show more