lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ernesto De Santis" <ernesto.desan...@colaborativa.net>
Subject Re: online and offline Directory
Date Mon, 27 Sep 2004 18:50:56 GMT
Hi Aviran

Thanks for response.

I forgot important information for you understand my issue.

My process do some like this:
The index have contents from differents sources, identified for a special
field 'source'.
Then the index have documents with source: S1 or source: S2 ... etc.

When I reindex the source S1, first delete all documents with source: S1, in
otherwise I have the index with repeated content. Then add the new index
result.
In the middle of process the IndexSearcher use an incomplete index.

Is posible do it like a data base transaction?

Bye
Ernesto.

----- Original Message ----- 
From: "Aviran" <amordo@infosciences.com>
To: "'Lucene Users List'" <lucene-user@jakarta.apache.org>
Sent: Monday, September 27, 2004 2:46 PM
Subject: RE: online and offline Directory


You don't need to maintain 2 indexes.
You can search on an index while adding more documents to it.
All you have to do is to check if whether the index has changed since the
last time you got an instance of Index Reader, and if it has, just get a new
Index Reader.

Aviran

-----Original Message-----
From: Ernesto De Santis [mailto:ernesto.desantis@colaborativa.net]
Sent: Monday, September 27, 2004 11:16 AM
To: Lucene Users List
Subject: online and offline Directory


Hello

I want administrate two index, one for online searches and another for index
process.

I want that the users search with a complete index, if I leave search at the
users over the same index that index process work, the users probabily see
an incomplete index.

For this I think, index process work in a "offline" index while the users
search in a online directory. When index process finish do the change.

Is my idea correct?
What is the best way to do this?

Thanks
Ernesto.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 10/09/2004


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



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




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


Mime
View raw message