This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Learn » eZ Publish » Need for speed - How to use eZ Find...

Need for speed - How to use eZ Find search fetch instead of standard content list/tree fetch

Tuesday 13 July 2010 10:27:45 am

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

Four other key hints

Third thing is to enable AllowEmptySearch in site.ini. It will enable use of eZ Find search function for listing nodes without having any search text query. This switch is generally useful to remain disabled if standard eZSearch engine is used (to prevent exhaustive SQL queries) but with eZ Find it is not an issue, as Solr handles this much better.

Fourth: indexed fields are only subset of all fields from the database. What fields you can use depends on what meta data eZ Find maps, what class attributes are searchable and what object attributes are marked searchable.

Fifth, and last, with version 2.2 eZ Find you have the option to segment the index into more chunks which can be configured independently – called shards. This can be useful for many things, among which are :

  • multilanguage site to distinguish language dependent settings: collation, spellchecker, stemming, etc
  • search other indexes

More on shards here: http://ez.no/doc/extensions/ez_find/2_2/advanced_configuration/using_multi_core_features

Sixth: Using eZ Find will give you performance boost but this should not prevent you to use all other caching possibilities of eZ Publish. To have a page with minimum request to SQL database or Solr engine is still a must.

 

Recommended settings

To conclude this basic options here are recommended settings in settings/override/site.ini.append.php :

[SearchSettings]
DelayedIndexing=disabled
AllowEmptySearch=enabled

In extension/ezfind/settings/ezfind.ini :

[IndexOptions]
OptimizeOnCommit=disabled
DisableDirectCommits=true
CommitWithin=2
 

Printable

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

Author(s)

Proudly Developed with from