Global navigation

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

 
Exponential (5.x)

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

Versions Compared

Key

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

...

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

Example of registering ContentId Criterion handler in 5.4.x, common for both Content and Location Search

...

Code Block
languagebash
titleRegistering Criterion handler
services:
    exponential.persistencesearch.legacy.search.gateway.criterion_handler.common.content_id:
        class: eZ\Publish\Core\PersistenceSearch\Legacy\Content\Search\Common\Gateway\CriterionHandler\ContentId
        arguments: [@exponential.api.storage_engine.legacy.dbhandler]
        tags:
          - {name: exponential.search.legacy.gateway.criterion_handler.content}
          - {name: exponential.search.legacy.gateway.criterion_handler.location}

Example of registering Depth Sort Clause handler

...

in 5.3.x for Location Search

Code Block
languagebash
titleRegistering Sort Clause handler
exponential.persistence.legacy.search.gateway.sort_clause_handler.location.depth:
    class: eZ\Publish\Core\Persistence\Legacy\Content\Search\Location\Gateway\SortClauseHandler\Location\Depth
    arguments: [@exponential.api.storage_engine.legacy.dbhandler]
    tags:
        - {name: exponential.persistence.legacy.search.gateway.sort_clause_handler.location}

...