2 ezpublish - 1 server - How many ezfind ?

Author Message

H-Works Agency

Tuesday 04 May 2010 5:51:35 am

Hello,

On my company server we have two ezpublish : one for production, one for developpement.

Say i have a solr process already running for production, how do i use ezfind on a siteaccess which is on the other ezpublish installation ?

Do i have to start another "java" process with another id like "-Dezfinddev" ?

Do i have to use always only one "java" process ?

I am a little lost here...

Regards

EZP is Great

Tero Auralinna

Tuesday 04 May 2010 8:53:30 am

You can use one Solr instance. Just check you have unique ezfind_site_id in ezsite_data table. Each installation will be separated with this key in search index.

Or you could use multi core feature if you're using version 2.2. Check docs for more info.
http://ez.no/doc/extensions/ez_find/2_2/advanced_configuration/using_multi_core_features

NXC Finland - Open Source solutions, Internet marketing and web analytics
http://www.nxc.fi
http://www.auralinna.fi
http://twitter.com/teroauralinna

Bertrand Dunogier

Wednesday 05 May 2010 11:42:58 am

I would go for the one ezfind / 2 sites approach Tero has explained. Just let ezpublish index, and the rest will happen automagically.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Paul Borgermans

Friday 07 May 2010 10:53:19 am

Also note that using multiple cores is preferred solution for several indexes (sites) in general. Indexing relevancy is affected when indexing content from different source (typically unrelated) in teh same search index

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

H-Works Agency

Sunday 09 May 2010 10:43:22 am

Thank you a lot for those solutions. Congratulations eZFind is a really great tool.

EZP is 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 02:12:48
Script start
Timing: Jan 18 2025 02:12:48
Module start 'layout'
Timing: Jan 18 2025 02:12:48
Module start 'content'
Timing: Jan 18 2025 02:12:49
Module end 'content'
Timing: Jan 18 2025 02:12:49
Script end

Main resources:

Total runtime0.6655 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 589.1875152.6406
Module start 'layout' 0.00870.0034 741.828139.4766
Module start 'content' 0.01210.6518 781.3047646.2344
Module end 'content' 0.66390.0016 1,427.539116.1172
Script end 0.6655  1,443.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00510.7609160.0003
Check MTime0.00270.4111160.0002
Mysql Total
Database connection0.00160.242110.0016
Mysqli_queries0.595289.4296700.0085
Looping result0.00140.2076680.0000
Template Total0.626894.220.3134
Template load0.00260.391120.0013
Template processing0.624293.786220.3121
Template load and register function0.00010.018210.0001
states
state_id_array0.00080.119010.0008
state_identifier_array0.00070.103720.0003
Override
Cache load0.00210.3134250.0001
Sytem overhead
Fetch class attribute can translate value0.00170.262840.0004
Fetch class attribute name0.00170.255380.0002
XML
Image XML parsing0.00180.268540.0004
class_abstraction
Instantiating content class attribute0.00000.002390.0000
General
dbfile0.00110.1680300.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
4content/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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 7

Time used to render debug report: 0.0002 secs