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.