Lucene is it always up to date?

Author Message

Christophe DEMOIRE

Wednesday 12 July 2006 7:44:38 am

I followed the instructions, however when I carry out extension/lucene/bin/php/updatesearchindexlucene.php, it tells me "module not found"<i>.

In the admin interface, the extension appears well.

I already cleared the cache!

Paul Borgermans

Wednesday 12 July 2006 9:45:53 am

Hi Christophe

Tx for trying thee lucene plugin. There are a few things to check first:

0) you need to run the script from the command-line (means you need a php-cli version as for the other php scripts provided with ez publish), not through the web browser
1) Is the extension activated (the checkbox should be checked) in the admin interface
2) Verify that the php-java bridge is running: first look if java is listed as a PHP extension in admin->setup->system information, and then see if a Java process is started (there is a test php script supplied with the php-java bridge which shows even more). I'll add some checks on this in the scripts so we get meaningful debug output
3) is the directory writable by the Apache process?

hth

--paul

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

Christophe DEMOIRE

Friday 04 August 2006 2:09:03 am

Hi Paul,

I solved my problem thanks to your assistance.

I already cleared the cache!

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 31 2025 01:26:29
Script start
Timing: Jan 31 2025 01:26:29
Module start 'layout'
Timing: Jan 31 2025 01:26:29
Module start 'content'
Timing: Jan 31 2025 01:26:29
Module end 'content'
Timing: Jan 31 2025 01:26:29
Script end

Main resources:

Total runtime0.0290 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0107 588.1250151.2109
Module start 'layout' 0.01070.0038 739.3359220.6875
Module start 'content' 0.01450.0131 960.0234997.7578
Module end 'content' 0.02760.0014 1,957.781333.9922
Script end 0.0290  1,991.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00268.9911140.0002
Check MTime0.00113.7109140.0001
Mysql Total
Database connection0.00051.793010.0005
Mysqli_queries0.00196.631730.0006
Looping result0.00000.045210.0000
Template Total0.00103.310.0010
Template load0.00082.631510.0008
Template processing0.00020.672510.0002
Override
Cache load0.00051.827510.0005
General
dbfile0.00175.881180.0002
String conversion0.00000.028840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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