This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Learn » eZ Publish » eZ Find Demystified: Installing and...

eZ Find Demystified: Installing and configuring a multi-core Solr/eZ Find 2.6 instance with eZ Tika

Monday 14 May 2012 8:34:25 pm

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Adding more cores

Adding more sites to be indexed by eZ Find and Solr is a simple matter. Let’s assume that the new site for which we want to add a core is installed in the directory /var/www/ezpublish/ezfindexample3/, that the eZ Tika and eZ Find extensions are installed in the site’s extensions/ directory, and that the database has been readied for eZ Find (see step 2 of this tutorial).

1. Perform the following commands:

cd /srv/solr/cores
cp -rp ezfindexample2 ezfindexample3

2. Edit /srv/solr/cores/solr.xml and add the new core:

<?xml version="1.0" encoding="UTF-8" ?>
<solr persistent="true" sharedLib="lib">
<cores adminPath="/admin/cores">
    <core name="ezfindexample1" instanceDir="ezfindexample1" />
    <core name="ezfindexample2" instanceDir="ezfindexample2" />
    <core name="ezfindexample3" instanceDir="ezfindexample3" />

3. Edit /srv/solr/cores/ezfindexample3/conf/solrconfig.xml and update the dataDir element:


4. Restart Solr

5. Perform steps 6-8 and 10-11 of this tutorial, substituting the example paths with paths to the new site.

That’s it!



When upgrading eZ Find, perform this upgrade on each site as per normal instructions, keeping your solr.ini file intact. Then copy the extension/ezfind/java directory into /srv/solr/ to update the binaries. Be mindful of any changes in schema.xml that may need to updated in each core’s schema.xml file.

The same principle applies to eZ Tika. Be sure to keep your customised binaryfile.ini.append.php and binaryfile.ini.append.withxpdf.php, then copy the new extension/eztika/bin directory into /srv/tika/.

NOTE: since eZ Tika is mainly a wrapper for the Apache Tika, you can download the latest tika jar file from Then rename it tika.jar and put it in the /srv/tika/bin/ directory. You don’t need to upgrade the actual eZ Tika extension in this case, but you’ll enjoy the benefits of newer versions of Tika.

36 542 Users on board!

Tutorial menu


Printer Friendly version of the full article on one page with plain styles


Proudly Developed with from