Re: flushing index

2010-09-28 Thread Erick Erickson
Nope, never used jNotify, so I don't have any code handy... Good luck! Erick On Tue, Sep 28, 2010 at 9:38 AM, Yakob wrote: > On 9/28/10, Erick Erickson wrote: > > Flushing an index to disk is just an IndexWriter.commit(), there's > nothing > > really special about that... > > > > About running

Re: Changing QueryParser operator images

2010-09-28 Thread Ahmet Arslan
> How can this be done, if at all? has anyone ever did > something like this? I did it by modifying QueryParser.jj and regenerating corresponding java files. But it is better to use (teach users) + - universal operators. http://wiki.apache.org/lucene-java/BooleanQuerySyntax ---

Re: flushing index

2010-09-28 Thread Yakob
On 9/28/10, Erick Erickson wrote: > Flushing an index to disk is just an IndexWriter.commit(), there's nothing > really special about that... > > About running your code continuously, you have several options: > 1> schedule a recurring job to do this. On *nix systems, this is a cron job, > on Wind

Changing QueryParser operator images

2010-09-28 Thread Itamar Syn-Hershko
Hi all, I'm trying to customize the "AND", "OR" and "NOT" operators being used by the QP, without changing anything in the core. I noticed a previous attempt, but it seems to have died quietly a few years ago [1]. Unfortunately, even changing the hardcoded values seems impossible, as they

Re: flushing index

2010-09-28 Thread Erick Erickson
Flushing an index to disk is just an IndexWriter.commit(), there's nothing really special about that... About running your code continuously, you have several options: 1> schedule a recurring job to do this. On *nix systems, this is a cron job, on Windows systems there's a job scheduler. 2> Just s

RE: Questions about Lucene usage recommendations

2010-09-28 Thread Pawlak Michel (DCTI)
Hello, I *hope* they do it this way, I'll have to check it. The number of fields cannot be made smaller as it has to respect an existing standard, regard to what you explain, searching concatened fields seems to be a smart way to do it. Thank you for the tip. Michel _