Forums / Extensions / eZ Find / What to do after editing eZFind/solR configuration ?

What to do after editing eZFind/solR configuration ?

Author Message

H-Works Agency

Monday 18 October 2010 9:11:12 am

Hello,

Can someone validate those steps when modifying ezfind/solr configurations ?

For eZFind :

  1. editing ezfind.ini
  2. php extension/ezfind/bin/php/updatesearchindexsolr.php -s siteaccess --php-exec=/usr/bin/php

For solR :

  1. editing schema.xml (the one loaded for your system either uni or multi-core)
  2. removing index datas by : rm -rf ./extension/ezfind/java/solr/data/*
  3. restarting solr (debian install script) : /etc/init.d/solr restart

What does ezfindexcontent.php is doing as even when its not running content is indexed when publishing from admin siteaccess ?

EZP is Great

Paul Borgermans

Sunday 24 October 2010 3:32:22 pm

"

Hello,

Can someone validate those steps when modifying ezfind/solr configurations ?

For eZFind :

  1. editing ezfind.ini
  2. php extension/ezfind/bin/php/updatesearchindexsolr.php -s siteaccess --php-exec=/usr/bin/php

For solR :

  1. editing schema.xml (the one loaded for your system either uni or multi-core)
  2. removing index datas by : rm -rf ./extension/ezfind/java/solr/data/*
  3. restarting solr (debian install script) : /etc/init.d/solr restart

What does ezfindexcontent.php is doing as even when its not running content is indexed when publishing from admin siteaccess ?

"

Mostly correct. I would suggest to use

 php extension/ezfind/bin/php/updatesearchindexsolr.php -s siteaccess --php-exec=/usr/bin/php  --clean-all

The --clean-all option deletes the index for you

about ezfindindexcontent.php, this is the script to use if you enabled delayed indexing (site.ini)

hth

Paul

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

Gaetano Giunta

Monday 25 October 2010 4:52:43 am

Further insight:

. content is indexed in realtime when it is edited by default. No need for the ezfindexcontet cronjob. But you can configure eZP to index new in non-realtime mode. It is a parameter in site.ini: DealayedIndexing. When it is enabled, you have to set up the cronjob to periodically index your new contents, or it will never be indexed.

The advantage of non-realtime indexing is that the editing process is slightly faster.

It is also a very good idea to disable realtime indexing when running content import batch scripts.

. after editing schema.xml, it is better if you reindex all of your contents, as some of the changes you have made might need to be taken into account at indexation time, not only at search time. So run again updatesearchindexsolr.php on the eZ side

Principal Consultant International Business
Member of the Community Project Board

eZ debug

Timing: Jan 29 2025 13:29:44
Script start
Timing: Jan 29 2025 13:29:44
Module start 'content'
Timing: Jan 29 2025 13:29:44
Module end 'content'
Timing: Jan 29 2025 13:29:44
Script end

Main resources:

Total runtime0.1141 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.2031180.7656
Module start 'content' 0.00640.0065 768.968899.6797
Module end 'content' 0.01300.1010 868.6484528.9063
Script end 0.1140  1,397.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00312.7071200.0002
Check MTime0.00121.0679200.0001
Mysql Total
Database connection0.00080.697910.0008
Mysqli_queries0.075666.26491410.0005
Looping result0.00090.74771390.0000
Template Total0.100788.310.1007
Template load0.00080.665310.0008
Template processing0.100087.632310.1000
Override
Cache load0.00050.465510.0005
Sytem overhead
Fetch class attribute can translate value0.00060.550610.0006
XML
Image XML parsing0.00020.201510.0002
General
dbfile0.00595.1867200.0003
String conversion0.00000.005230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs