Re: Best practice for searching html

2006-03-09 Thread Jens Kraemer
Hi! On Thu, Mar 09, 2006 at 04:31:23AM -0800, Raul Raja Martinez wrote: > Hi I have a lot of html indexed such as: > > Martínez > > Of course my users are gonna search for Martínez and they're not gonna > get a match. > > Is there a common approach to solve this kind of problem in lucene, > M

Re: Keeping RAMDirectory and filesystem index in sync

2006-03-13 Thread Jens Kraemer
On Mon, Mar 13, 2006 at 06:23:10PM +0530, Satuluri, Venu_Madhav wrote: > Hi, > > Is there an elegant way to keep RAMDirectory and my file-system based > index in sync? I have a java class that is periodically started up by > crond that checks for modified documents and then reindexes them onto > t

Re: Strategies for updating indexes.

2005-04-05 Thread Jens Kraemer
Hi, please see comments below. On Tue, Apr 05, 2005 at 08:38:04AM +0100, Lee Turner wrote: > Hi > > I was wondering whether anyone has any experience of multithreaded > updates to indexes. I the web app I am working on there are additions, > updates and deletes that need to happen to the index t

Re: Strategies for updating indexes.

2005-04-06 Thread Jens Kraemer
On Tue, Apr 05, 2005 at 08:16:35AM -0700, Otis Gospodnetic wrote: > If you take this approach, keep in mind that you will also need to > handle regular application shutdowns, and also try to catch some > crashes/errors, in order to flush your in-memory queue of items > scheduled for indexing, and w

Re: Atomic updates on Lucene index document?

2005-04-15 Thread Jens Kraemer
On Thu, Apr 14, 2005 at 09:53:52PM -0400, Terence Lai wrote: > Hi all, > > As far as I know, I don't find any Lucene API for updating an index > document. What I have to do is to delete the existing index document > and insert a new one. However, this is going to be 2 separate > operations (delete

Re: Delete documents base on more than one condition?

2005-04-26 Thread Jens Kraemer
On Mon, Apr 25, 2005 at 10:18:22PM +1000, Ben wrote: > Hi > > Is it possible to delete a set of documents where they match certain > conditions? I would like to delete a set of articles that belong to a > given user within a category. just build a query reflecting your criteria (e.g. a BooleanQue