some questions on ezfind configuration

Author Message

Gaetano Giunta

Tuesday 05 February 2008 3:40:45 pm

1- how often is the search index updated? is it updated periodically or on obj publication?
I have seen that, after installing ezfind, I need to run the updatesearchindex script by hand at least once before the search takes off, but I don't know if I have to schedule it or not...

2 - moving solr search index into ez var dir (to keep ez directories read-only, for improved security): is this correct: <i><dataDir>../../../var/solr_data</dataDir></i> in solrconfig.xml?
what about java/solr/conf/scripts.conf?

2b - is the data dir read by the java process, by the php indexer, by both?

In fact I am not sure about this: is all communication with eZSolr done exclusively via http?

ps: sorry if any of these questions has already been answered on the forums/ mailing list. One sure welcome addition to the docs would be a small architectural overview, with a nice graph and the details of the different scripts/configs/processes involved...

Principal Consultant International Business
Member of the Community Project Board

Kåre Køhler Høvik

Friday 14 March 2008 8:50:25 am

Hi

1 - The search index is updated by the same intervals as the regular search in eZ Publish. Please not that it may take an additional minute for eZ Find to have the indexed content available for searching.

2a - Sounds like a good enhancement. Please create an issue in the Issue tracker about this.

2b - By the Java process. All communucation with eZSolr is done using HTTP.

Kåre Høvik

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 10:23:58
Script start
Timing: Jan 18 2025 10:23:58
Module start 'layout'
Timing: Jan 18 2025 10:23:58
Module start 'content'
Timing: Jan 18 2025 10:23:59
Module end 'content'
Timing: Jan 18 2025 10:23:59
Script end

Main resources:

Total runtime1.1136 sec
Peak memory usage4,096.0000 KB
Database Queries56

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 588.0625152.6406
Module start 'layout' 0.00870.0072 740.703139.4766
Module start 'content' 0.01591.0965 780.1797533.5781
Module end 'content' 1.11240.0012 1,313.75788.1328
Script end 1.1136  1,321.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3035160.0002
Check MTime0.00150.1368160.0001
Mysql Total
Database connection0.00110.101610.0011
Mysqli_queries1.064695.5922560.0190
Looping result0.00050.0488540.0000
Template Total1.062595.420.5313
Template load0.00230.207320.0012
Template processing1.060295.203020.5301
Template load and register function0.00010.011910.0001
states
state_id_array0.00190.171910.0019
state_identifier_array0.00130.117520.0007
Override
Cache load0.00190.1680170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.053320.0003
Fetch class attribute name0.00090.083740.0002
XML
Image XML parsing0.00120.106320.0006
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00080.0723210.0000
String conversion0.00000.000940.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs