Forums / Developer / ezfind multisite multidb indexing

ezfind multisite multidb indexing

Author Message

Jean-Luc Chassaing

Wednesday 14 April 2010 1:38:31 am

Hello,

Here is my problem I have one ez instance with multiple siteaccess each one has it's own database. My problem is :

- I want ezfind ans solr to index all those sites

- I want to have a single search engine for all the sites on my ez instance.

Matthieu Sévère

Wednesday 14 April 2010 1:53:23 am

Hello Jean-luc,

Have look at this discussion : http://share.ez.no/forums/extensions/ez-find/ez-find-fetch-in-one-specific-site-id-when-installation-is-in-multiple-site-environment

It explains that searching on multiple-site that have different database is not possible with "classic" ezfind but you can use rawSolrRequest fetch to achieve this.

--
eZ certified developer: http://ez.no/certification/verify/346216

Jean-Luc Chassaing

Wednesday 28 April 2010 3:05:16 am

OK,

I've worked it all around. Let me put it an other way.

I have One Ez instance and one Solr server running. I have many siteaccess having a specific database for each of them. For each specific siteaccess, i've run the updatesearchindexsolr.php on each siteaccess having a specific database.They all share the same solr data folder.

The result is that when I perform a search on each siteaccess I can retrieve results from all the accesses.

I would like to be able to add a facet based on the siteaccess but I still haven't found how. I'm trying to deal with the installation.

If someone could give me some clues, it would be great.