Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After you have implemented your Criterion / Sort Clause and its handler, you will need to configure the handler for the service container using dedicated service tags for each type of search. Doing so will automatically register it and handle your Criterion / Search Clause when it is given as a parameter to one of the Search Service methods.

Info

You will find all the native handlers and the tags for the Legacy Storage Engine available in the eZ/Publish/Core/settings/storage_engines/legacy/search_query_handlers.yml file.

Tags

Status
colourGreen
title>=5.4.2

Available tags for Criterion handlers in Legacy Storage Engine are:

  • ezpublish.persistencesearch.legacy.search.gateway.criterion_handler.content
  • ezpublish.persistencesearch.legacy.search.gateway.criterion_handler.location

Available tags for Sort Clause handlers in Legacy Storage Engine are:

  • ezpublish.persistencesearch.legacy.search.gateway.sort_clause_handler.content
  • ezpublish.persistencesearch.legacy.search.gateway.sort_clause_handler.location
Info

You will find all the native handlers and the tags for the Legacy Storage Engine available in the eZ/Publish/Core/settings/storage_engines/legacy/search_query_handlers.yml file.

Status
colourYellow
title<=5.3

Available tags for Criterion handlers in Legacy Storage Engine are:

  • ezpublish.persistence.legacy.search.gateway.criterion_handler.content
  • ezpublish.persistence.legacy.search.gateway.criterion_handler.location

Available tags for Sort Clause handlers in Legacy Storage Engine are:

  • ezpublish.persistence.legacy.search.gateway.sort_clause_handler.content
  • ezpublish.persistence.legacy.search.gateway.sort_clause_handler.location

Example of registering ContentId Criterion handler, common for both Content and Location Search

...