On Jul 24, 2005, at 12:17 PM, Harini Raghavan wrote:
Hi All,
I am trying to add paging functionality while using lucene search.
I have created a PageFilter what takes in the current page num and
the number of records as input and invoking the IndexSearcher
passing the a Boolean Query obj
Hi All,
I am trying to add paging functionality while using lucene search. I have
created a PageFilter what takes in the current page num and the number of
records as input and invoking the IndexSearcher passing the a Boolean Query
object and the PageFilter. The search returns around 1000 reco
try that out.
Thanks,
Harini
- Original Message -
From: "Chris Hostetter" <[EMAIL PROTECTED]>
To:
Sent: Monday, July 18, 2005 1:14 PM
Subject: Re: Index locked exception while updating index
I freely admit that i wasn't paying much attention to the begining of
make managing a
singleton IndexWriter really easy.
: Date: Mon, 18 Jul 2005 10:12:39 +0530
: From: Harini Raghavan <[EMAIL PROTECTED]>
: Reply-To: java-user@lucene.apache.org
: To: [EMAIL PROTECTED]
: Cc: java-user@lucene.apache.org
: Subject: Re: Index locked exception while updating in
synchronized
and that fixed the problem.
Thanks for your quick response,
Harini
- Original Message -
From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
To:
Sent: Monday, July 18, 2005 10:03 AM
Subject: Re: Index locked exception while updating index
Harini,
Harini,
You are catching IOException in the finally block, but you are not even
printing out the exception stack trace. Perhaps you are not able to
close your IndexWriter for some reason.
Otis
--- Harini Raghavan <[EMAIL PROTECTED]> wrote:
> Hi All,
> I am quite new to Lucene and I have probl
Hi All,
I am quite new to Lucene and I have problem with locking. I have a
MessageDrivenBean that sends messages to my Lucene indexer whenever there is
a new database update. The indexer updates the index incrementally . Below
is the code fragment in the indexer method that gets invoked by the