Re: question about search indexes and clusters
"Khue Nguyen" <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <002b01c4fc17$65183870$2101a8c0@seashell> |
the search engine uses the clustering capacities of Jahia's cache system ( using JMS ) to propagate search indexation between all clustered Jahia servers. So when a file upload occurs on a server that actually doesn't index files, the other clusters will ( as long as they are set to do so ). Regards, Khue Nguyen ----- Original Message ----- From: "Gilles Schlienger" <[email protected]> To: <[email protected]> Sent: Friday, January 14, 2005 9:18 PM Subject: Re: question about search indexes and clusters > Thanks Khue > > I understand what you mean, > but what happens if a user is uploading a file using the server that does > not index files? > Or, how do you force users to upload files using only one server? > If the file is not indexed, you can't search it? > > Thanks > Gilles > > --- Khue Nguyen <[email protected]> a écrit : >> Hi, >> >> >> by default each Jahia instance do index and search in a separate index >> file. >> But you can configure each of them to : >> >> 1) only search but no perform indexation >> 2) to use a common search index >> >> These settings are done in the web.xml file of each Jahia instance. >> >> <init-param> >> <param-name>org.apache.lucene.searchIndexRootDir</param-name> >> <!-- to point to a common search index ( but only one Jahia instance >> should run indexation --> >> <param-value>/WEB-INF/var/search_indexes</param-value> >> </init-param> >> >> <init-param> >> <param-name>org.apache.lucene.localIndexing</param-name> >> <param-value>1</param-value> <!-- 1: allow local indexing, 0: do not >> index --> >> </init-param> >> >> we've managed to refactor the search service in near future. >> >> >> Regards, >> Khue Nguyen >> >> >> >> ----- Original Message ----- >> From: "Gilles Schlienger" <[email protected]> >> To: <[email protected]> >> Sent: Friday, January 14, 2005 3:50 PM >> Subject: question about search indexes and clusters >> >> >> > Hi everyone, >> > >> > I'm currently setting up Jahia in a cluster environment with 2 Jahia >> > servers. >> > >> > I need failover support in my architecture. Thus I need to have data >> > duplicated on both servers. >> > I'm thinking about implementing a mechanism to notify and synchronize >> > the >> > other machine and vice >> > versa, especially for the Jahia files (Big Text, PDFs etc...) >> > >> > But what about the search indexes? >> > I'm a little nervous about synchronizing index files. >> > I'm thinking about this scenario: >> > Since indexing a file (PDF) can take some time, if user1 indexes a PDF >> > on >> > server1 and user2 >> > idnexes a PDF on server2 almost at the same time, then index files >> > could >> > be overriden one with the >> > other during synchronisation. >> > >> > I've read the Jahia Clustering HowTo. They talk about only having one >> > Jahia instance for indexing, >> > ut how do you implement this? (do you configure with the Lucene config >> > files ?) >> > >> > Thanks again for any help about clustering >> > Gilles >> > >> > >> > >> > >> > >> > >> > Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos >> > mails ! >> > Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ >> >> >> > > > > > > > Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos > mails ! > Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ >