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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:20:33
Script start
Timing: Jan 18 2025 05:20:33
Module start 'layout'
Timing: Jan 18 2025 05:20:33
Module start 'content'
Timing: Jan 18 2025 05:20:33
Module end 'content'
Timing: Jan 18 2025 05:20:33
Script end

Main resources:

Total runtime0.7757 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 590.4297152.6250
Module start 'layout' 0.00510.0030 743.054739.4609
Module start 'content' 0.00810.7664 782.5156544.5625
Module end 'content' 0.77450.0012 1,327.078112.1563
Script end 0.7757  1,339.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4043160.0002
Check MTime0.00130.1631160.0001
Mysql Total
Database connection0.00090.113810.0009
Mysqli_queries0.725093.4671580.0125
Looping result0.00050.0644560.0000
Template Total0.749396.620.3746
Template load0.00190.239020.0009
Template processing0.747496.354120.3737
Template load and register function0.00010.016010.0001
states
state_id_array0.00090.116610.0009
state_identifier_array0.00090.118520.0005
Override
Cache load0.00150.1975220.0001
Sytem overhead
Fetch class attribute can translate value0.00050.065320.0003
Fetch class attribute name0.00140.180050.0003
XML
Image XML parsing0.00100.132320.0005
class_abstraction
Instantiating content class attribute0.00000.002060.0000
General
dbfile0.00080.1067220.0000
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs