ibexa

Path

ez publish / documentation / extensions / ez publish extensions / ez find / ez find 2.3 / what's new in ez find 2.3


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

What's new in eZ Find 2.3

Since 2.2 some changes have been implemented in eZ Find.

New and improved settings in ezfind.ini

  •  The "EnableSolrAttributeStorage" setting was added to the [IndexOptions] configuration group. It configures the attribute (slave) storage in the Solr back-end and can be used in templates to speed up page rendering. It is also essential for the related eZ Archive extension.
    Keep in mind though that enabling this setting may inflate the index size on large installations.
  •  Since eZ Find 2.3 eztext attributes are also used to store (partial) html markup. To avoid highlighting problems the custom XML handler can be used.
     In ezfind.ini this setting can be used to reflect these changes:

    [SolrFieldMapSettings]
     CustomMap[eztext]=ezfSolrDocumentFieldXML
    
  •  Also new since eZ Find 2.3 is the auto-complete function. While entering text into the search field (both in the User Interface as in the Admin Interface), users and editors can select the word they want from the suggestions provided by the search engine. Therefore users do not need to complete typing the search words themselves. The settings related to this function are located in ezfind.ini's block [AutoCompleteSettings]. For more detailed information please visit the use page Autocomplete search.

For more information regarding the settings of eZ find visit the configuration settings of eZ Find page.

Load Priority

From eZ Publish 4.4 (Fuji) onwards, the load order feature will enable extensions to define in which order they must be loaded in regards to other extensions, this was previously done by manually placing the extensions in the right order under "[ExtensionSettings] ActiveAccessExtensions[]=" in "site.ini". This enhancement has been implemented in eZ Find 2.3 by adding the load order to the file "extension.xml" located here:

(root of eZ Publish installation)/extension/ezfind/extension.xml

This file contains:

<?xml version="1.0" encoding="utf-8" ?>
 <software>
     <metadata>
         <name>Extension name</name>
         <version>X.Y.Z</version>
         <copyright>Copyright text</copyright>
         <license>License type</license>
         <info_url>http://url/to/extension/site</info_url>
 
         <software>
             <uses>
                 <name>Used library/software 1</name>
                 <license>Used library/software 1  license</license>
                 <copyright>Used library/software 1  copyright</copyright>
                 <info_url>Used library/software 1  URL</info_url>s
                 <version>Used library/software 1  version</version>
             </uses>
            <uses>
                <name>Used library/software 2</name>
                <license>Used library/software 2  license</license>
                <copyright>Used library/software 2  copyright</copyright>
                <info_url>Used library/software 2  URL</info_url>s
                <version>Used library/software 2  version</version>
            </uses>
 
         </software>
 
     </metadata>
 
     <dependencies>
         <uses>
             <extension name="usedExtension" />
         </uses>
        <requires>
            <extension name="requiredExtension" />
        </requires>
         <extends>
             <extension name="extendedExtension" />
         </extends>
     </dependencies>
 
 </software>

The first block (software/metadata) replaces "ezinfo.php". The fields are equivalent to those found in the info() method of the 'old' ezinfo. The sub-node software/metadata/software replaces the previous 3rdparty_libraries entry. One software/metadata/software/uses node must be used for each library.

The second block (software/dependencies) replaces the loading.php file described above. It can contain 3 sub-nodes:

  •  uses: indicates that the referenced extension is used by this extension. Will be considered as an 'after' entry in the loading.php scheme.
  •  requires: indicates that the referenced extension is required by this extension. Will be considered as an 'after' entry in the loading.php scheme.
  •  extends: indicates that the referenced extension is overloaded by this extension. Will be considered as a 'before' entry in the loading.php scheme.

Note: 'uses' and 'requires' currently have the same effect, but their behavior will change when real dependencies checking is developed in the future.

This means eZ Find will now automatically be loaded after ezjscore, but before ezwebin and ezflow.

For more information regarding the load order please visit the documentation regarding extension load ordering.

Added Features

  •  A commit utility script "ezsolrcommit.php" was added. It is located here:

    (root eZ Publish  installation)/extension/ezfind/bin/php/ezsolrcommit.php
    
  •  An initial skeleton for serializing attributes into the Solr back-end was added.

Bug fixes

For information regarding the bugs fixed for this version please read the change logs included in your eZ Find 2.3 installation, located here:

(root eZ Publish installation)/extensions/ezfind/doc/2.3/changelogs

Ester Heylen (05/05/2010 3:30 pm)

Geir Arne Waaler (06/06/2011 11:11 am)

Ester Heylen, Geir Arne Waaler, Paul Borgermans


Comments

There are no comments.