IndexWriter and IndexReader

2004-02-19 Thread Will Liu
Hi, I was wondering if I could get some help with using IndexWriter and IndexReader. I'm pretty new to Lucene, and I've already written an application that indexes a directory of files... but now I'm trying to make the index be able to be maintained through incremental changes. the case i'm

MultiReader

2004-02-19 Thread Rasik Pandey
Hello, Does anyone know of an implementation of a MultiReader (IndexReader over multiple indices) in the same spirit as the MultiSearcher? Regards, RBP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: MultiReader

2004-02-19 Thread Doug Cutting
Rasik Pandey wrote: Does anyone know of an implementation of a MultiReader (IndexReader over multiple indices) in the same spirit as the MultiSearcher? I just committed one! This was really already there, in SegmentsReader, but it was not public and needed a few minor changes. Enjoy. Doug

advice on a query

2004-02-19 Thread Supun Edirisinghe
Hi, I'm still new to Lucene and I'm slowly learning it. I'm trying to think of how to build a query for this situation: I have an index of Foods. I have a field called Name that is Indexed and Untokenized it holds values like chicken soup roast duck chicken pot pie users are going to search

Re: Vector - LinkedList for performance reasons...

2004-02-19 Thread Kevin A. Burton
Doug Cutting wrote: My hunch is that the speedup will not be significant. Synchronization costs in modern JVMs are very small when there is no contention. But only measurement can say for sure. The major problem is not just the synchronization but also the Vector array copy when when the

Re: Vector - LinkedList for performance reasons...

2004-02-19 Thread Esmond Pitt
The internal array copy happens each time the array is grown, and by default it is grown by doubling with an initial size of 10, so the array copy happens log2(final size-10) times. EJP - Original Message - From: Kevin A. Burton [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED]

RE: Lock obtain timed out

2004-02-19 Thread Anand Stephen
-Original Message- From: Tatu Saloranta [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 7:23 AM To: Lucene Users List Subject: Re: Lock obtain timed out On Tuesday 16 December 2003 03:37, Hohwiller, Joerg wrote: Hi there, I have not yet got any response about my