lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giulio Cesare Solaroli <slrg...@ibn-italy.com>
Subject Re: Problem with long run IndexSearcher
Date Mon, 19 May 2003 14:16:13 GMT
Eric,

thank you very much for your reply.

On Monday, May 19, 2003, at 16:04 Europe/Rome, Eric Isakson wrote:

> Giulio,
>
> This problem stems from the fact that the IndexReader won't see your 
> changed index.
>
> See the faq entries:

Sorry for posting a FAQ. I did read the documentation quite carefully, 
but I did miss the point where this question had been documented.

Any new workaround since 2001, when the FAQ was written?

Thank your for your attention,

Giulio Cesare Solaroli


> -----Original Message-----
> From: Giulio Cesare Solaroli [mailto:slrgcsa@ibn-italy.com]
> Sent: Monday, May 19, 2003 9:38 AM
> To: lucene-dev@jakarta.apache.org
> Subject: Problem with long run IndexSearcher
>
>
> Hi all,
>
> first let me express my compliments for Lucene.
> I have been up for a full week-end to double check the results I was
> having because I couldn't belive what I saw; with a stupid application
> I could index DB data at a sustained rate of 50 documents per second.
>
> Now we have more that 2 millions documents indexed and the performance
> are still excellent; our main bottle neck is still the DB.
>
> Our situation:
> - we are indexing new documents at a sustained rate (an average of
> 40.000 new documents a day);
> - we have written a small xmlRpc server in Java to search the index
> from other applications.
>
> The xmlRpc server creates a single instance of IndexSearcher a reuse it
> for each query issued.
> For each request, a new Query object is created and the documents found
> are returned to the client.
>
> The problem we are seeing is that the documents indexed after the
> xmlRpc server is started will not be found until the server is
> restarted.
>
> Is this our foult, or the way IndexSearcher should work?
>
> What is the best way to keep the IndexSearcher up to date with the
> updated index?
>
> Thanks for your attention,
>
> Giulio Cesare Solaroli
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message