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
_
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
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
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
> 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
---
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