netgen / ezplatform-search-extra
Netgen's extra bits for eZ Platform search
Installs: 78 673
Dependents: 1
Suggesters: 0
Security: 0
Stars: 13
Watchers: 6
Forks: 4
Open Issues: 3
Type:ezplatform-bundle
pkg:composer/netgen/ezplatform-search-extra
Requires
- ext-dom: *
- ext-json: *
- ezsystems/ezplatform-kernel: ^1.2
Requires (Dev)
Suggests
- ezsystems/ezplatform-solr-search-engine: Supports advanced capabilities with eZ Platform search API, ^1.4 is required
- netgen/ezplatform-site-api: Boost your site-building productivity with eZ Platform
Conflicts
- symfony/cache: 5.0.11 || 5.1.3
- dev-master / 2.7.x-dev
- 2.6.0
- 2.5.x-dev
- 2.5.0
- 2.4.x-dev
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.16.x-dev
- 1.16.0
- 1.15.x-dev
- 1.15
- 1.14.x-dev
- 1.14.1
- 1.14.0
- 1.13.x-dev
- 1.13.0
- 1.12.x-dev
- 1.12
- 1.11.x-dev
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- dev-NGSTACK-361_location_siblings_accesss
- dev-sf28_compat
This package is auto-updated.
Last update: 2025-09-29 01:50:10 UTC
README
Other versions
- release compatible with eZ Platform
3.1is2.4 - release compatible with eZ Platform
2.xis1.14
Features
This only lists all implemented features, see the documentation for more details on specific ones.
-
ContentNamecriterion that works on matched translation's Content name (solr,legacy) -
ContentNamesort clause that works on matched translation's Content name (solr,legacy) -
ContentIdandLocationIdcriteria with support for range operators (solr,legacy)Supported operators are:
EQ,IN,GT,GTE,LT,LTE,BETWEEN. -
Visiblecriterion (solr,legacy), usable in both Content and Location search. The criterion works on compound visiblity of Content and Location objects: the Content is visible if it's marked as visible; the Location is visible if it's marked as visible, is not hidden by one of its ancestor Locations, and it's Content is visible. -
CustomFieldsort clause (solr)Provides a way to sort directly on Solr field by its name.
-
Pagerfanta adapters providing access to extra information returned by the search engine, like facets, aggregations, max score and execution time (
solr,legacy):SearchAdapterwhen usingAPIsearch serviceSearchHandlerAdapterwhen usingSPIsearch handler
-
A set of User related criteria (
legacy):HasUsercriterionUserEmailcriterionUserEnabledcriterionUserIdcriterionUserLogincriterion
-
IsFieldEmptycriterion (solr)Requires initial reindexing after installation.
-
ObjectStateIdentifiercriterion (solr,legacy) -
SectionIdentifiercriterion (solr,legacy) -
Support for custom Content subdocuments (Solr search engine) (
solr)Provides a way to index custom subdocuments to Content document and
SubdocumentQuerycriterion, available in Content search to define grouped conditions for a custom subdocument. -
SubdocumentFieldsort clause (solr)Provides a way to sort Content by a subdocument field, choosing score calculation mode and optionally limiting with
SubdocumentQuerycriterion.Note: This will require Solr
6.6or higher in order to work correctly with all scoring modes. -
LocationQuerycriterion (solr,legacy)Allows grouping of Location criteria so that they apply together on a Location.
-
CustomFieldFacetBuilderfacet builder (solr)Allows building facets on custom Solr fields.
-
RawFacetBuilderfacet builder (solr)Exposes Solr's JSON facet API in full.
-
Scoresort clause (solr)Provides a way to sort Content by score value.
-
Randomsort clause (solr)Provides a way to sort Content randomly.
-
Indexable implementations for
RichTextandXmlText(solr)These implementations shorten text indexed as keyword to 256 characters, which prevents failures when the field's content is too big for Solr's string field. They can be controlled with semantic configuration (showing defaults):
netgen_ez_platform_search_extra: indexable_field_type: ezxmltext: enabled: true short_text_limit: 256 ezrichtext: enabled: true short_text_limit: 256
-
Loadingimplementation of result extractor (solr)Loading result extractor gets it's value objects by loading them from the persistence. This prevents:
UnauthorizedExceptionfailures because of the missingcontent/versionreadpermission when Content is updated and incremented current version number is not yet indexed in SolrNotFoundExceptionfailures when Content/Location is deleted and the corresponding document is not yet removed from Solr index
Usage of loading result extractor can be controlled with semantic configuration (showing defaults):
netgen_ez_platform_search_extra: use_loading_search_result_extractor: true
Installation
To install eZ Platform Search Extra first add it as a dependency to your project:
composer require netgen/ezplatform-search-extra:^2.5
Once the added dependency is installed, activate the bundle in app/AppKernel.php file by adding it to the $bundles array in registerBundles() method, together with other required bundles:
public function registerBundles() { ... $bundles[] = new Netgen\Bundle\EzPlatformSearchExtraBundle\NetgenEzPlatformSearchExtraBundle; return $bundles; }