ezfind in multisite environnement

Author Message

H-Works Agency

Thursday 31 December 2009 5:09:18 am

Hello,

What is the good way to setup ezfind in an ezpublish multi-sites environnement ? How does updatesearchindex occurs when you have multiple sites ?

Thank you

EZP is Great

Jérôme Vieilledent

Wednesday 06 January 2010 5:17:27 am

Hi Martin

eZ Find works perfectly in a multi-sites environment with only one Solr installation. In fact, eZ Find registers a "site ID" for each website, so that the solr indexes won't melt. Each time you'll make a query via eZ Find, it will embed your current site ID with your query.

Besides, you'll be able to make multi-site searches, depending of your eZ Find configuration. It's pretty well explained in eZ Find doc ;).

H-Works Agency

Wednesday 06 January 2010 6:10:49 am

Hello Jerôme,

This is great news i am beginning to implement ezFind on my different website and it look amazing.

I have another question : Does ezFind fetch function (php and operator) fully support all types of solr queries ?

Thanx

EZP is Great

Paul Borgermans

Wednesday 06 January 2010 6:46:07 am

Hi Martin, what types of solr queries do you mean?

We haven't enabled all of them, especially Solr 1.4 has many more parameters to expose in eZ Find

Again on the topic of multi site handling: in general, the best is to have every site using its own Solr index for the relevance calculations.

You can use one Solr instance/servelt container to serve multiple indexes as well, each of them optimally served. Take a look at this possible config to do so:

http://ez.no/doc/extensions/ez_find/2_1/advanced_configuration/using_multi_core_features

FYI: this config will also be a possibility from ez find 2.2 for having better support for multilingual sites (each index optimally configured for the language dependent analysis parts and also spellchecker, synonyms, .... per language)

Cheers

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Nicolas Pastorino

Monday 01 February 2010 6:58:24 am

Hi Martin,

Could you safely move on on your multisite eZ Find setup ?

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 03:02:31
Script start
Timing: Jan 18 2025 03:02:31
Module start 'layout'
Timing: Jan 18 2025 03:02:31
Module start 'content'
Timing: Jan 18 2025 03:02:32
Module end 'content'
Timing: Jan 18 2025 03:02:32
Script end

Main resources:

Total runtime0.9437 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0092 591.7578153.4531
Module start 'layout' 0.00920.0036 745.210939.4063
Module start 'content' 0.01280.9292 784.6172656.2031
Module end 'content' 0.94200.0017 1,440.820316.1563
Script end 0.9437  1,456.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4087160.0002
Check MTime0.00130.1429160.0001
Mysql Total
Database connection0.00110.121210.0011
Mysqli_queries0.861191.2441680.0127
Looping result0.00140.1459660.0000
Template Total0.899595.320.4497
Template load0.00240.257220.0012
Template processing0.897095.051420.4485
Template load and register function0.00010.011010.0001
states
state_id_array0.00180.187910.0018
state_identifier_array0.00180.195720.0009
Override
Cache load0.00180.1893340.0001
Sytem overhead
Fetch class attribute can translate value0.00130.141740.0003
Fetch class attribute name0.00150.160590.0002
XML
Image XML parsing0.00840.887640.0021
class_abstraction
Instantiating content class attribute0.00000.0017100.0000
General
dbfile0.00170.1842370.0000
String conversion0.00000.001440.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs