Searching and indexing from different processes (applications)

2004-11-16 Thread K Kim

Hi.

I just started to play around with Lucene.  I was
wondering if searching and indexing can be done
simultaneously from different processes (two different
processes.)  For example, searching is serviced from a
web appliation, while indexing is done periodically
from a stand-alone application.

What would be the best way to implement this?  

Thanks.






___
 100MB, - !  
(http://mail.yahoo.co.kr)
, , , OST, ,  - !   
(http://kr.music.yahoo.com)
  , , ,  - !
(http://kr.mobile.yahoo.com)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Searching and indexing from different processes (applications)

2004-11-16 Thread Morus Walter
K Kim writes:

 I just started to play around with Lucene.  I was
 wondering if searching and indexing can be done
 simultaneously from different processes (two different
 processes.)  For example, searching is serviced from a
 web appliation, while indexing is done periodically
 from a stand-alone application.
 
 What would be the best way to implement this?  
 
simply do it.
The only things you have to keep in mind, is
a) you cannot have more than one process/thread writing to lucene
b) an index reader/search will not see updates unless it's closed
   and reopened.

So all you need is your web app and your indexing process and some
way to inform the web app after indexing, that it should reopen the index.

Morus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Searching and indexing from different processes (applications)

2004-11-16 Thread Cocula Remi
I have created a tool that could respond to your question.
It is called Lucene Server (http://luceneserver.sourceforge.net/)
It is a tool for integration of Lucene in distributed environnements (via RMI). 

A new release is under developpement. It will include a paginated search 
service using XML.

If you are interested by this project just try it; I will support you.

Regards.



-Message d'origine-
De?: K Kim [mailto:[EMAIL PROTECTED]
Envoye?: mardi 16 novembre 2004 16:11
A?: [EMAIL PROTECTED]
Objet?: Searching and indexing from different processes (applications)



Hi.

I just started to play around with Lucene.  I was
wondering if searching and indexing can be done
simultaneously from different processes (two different
processes.)  For example, searching is serviced from a
web appliation, while indexing is done periodically
from a stand-alone application.

What would be the best way to implement this?  

Thanks.






___
 100MB, - !  
(http://mail.yahoo.co.kr)
, , , OST, ,  - !   
(http://kr.music.yahoo.com)
  , , ,  - !
(http://kr.mobile.yahoo.com)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]