Can start.jar be moved?

Author Message

Josh Bair

Thursday 23 October 2008 2:03:16 pm

Is it possible to use eZ Find with the Java directory residing outside of the ezfind extension directory?

As a test, I moved the java directory outside of the Web root and ran "java -jar start.jar". Everything seemed to come up normally and solr even responded to searches from the site, but no search results are returned to the page.

Gaetano Giunta

Friday 24 October 2008 2:01:48 pm

You can install solr ("the eZFind java directory") outside of the eZ Publish installation, or even on a different server - all communication between the two parties is done via http calls.

You just need to set up appropriately config settings, eg:
- solr.ini.append.php with the url where solr can be found listening
- jetty xml and solrconfig.xml for the location of solr logs and data files

After moving solr to a different directory, I think you might have to reindex the whole site. Use updatesearchindexsolr.php for that.

Principal Consultant International Business
Member of the Community Project Board

Paul Borgermans

Wednesday 26 November 2008 10:53:15 am

One correction to

"After moving solr to a different directory, I think you might have to reindex the whole site. Use updatesearchindexsolr.php for that. "

This is not necessary, provided the Solr index does not get corrupted (example: Solr writing to it while moving/copying the index data)

Paul

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

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 11:29:16
Script start
Timing: Jan 18 2025 11:29:16
Module start 'layout'
Timing: Jan 18 2025 11:29:16
Module start 'content'
Timing: Jan 18 2025 11:29:16
Module end 'content'
Timing: Jan 18 2025 11:29:16
Script end

Main resources:

Total runtime0.0174 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.0703152.6250
Module start 'layout' 0.00490.0052 741.695339.4453
Module start 'content' 0.01010.0053 781.140690.3828
Module end 'content' 0.01540.0019 871.523434.3047
Script end 0.0174  905.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.3975140.0002
Check MTime0.00116.3881140.0001
Mysql Total
Database connection0.00073.971810.0007
Mysqli_queries0.004726.942130.0016
Looping result0.00000.091810.0000
Template Total0.00169.310.0016
Template load0.00094.903810.0009
Template processing0.00084.351510.0008
Override
Cache load0.00063.564810.0006
General
dbfile0.00021.344580.0000
String conversion0.00000.045240.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