{"id":23395820,"url":"https://github.com/netgen/ezplatform-search-extra","last_synced_at":"2025-10-06T13:50:21.780Z","repository":{"id":53516144,"uuid":"126584935","full_name":"netgen/ezplatform-search-extra","owner":"netgen","description":"Netgen's extra bits for eZ Platform search","archived":false,"fork":false,"pushed_at":"2023-02-01T12:16:03.000Z","size":452,"stargazers_count":13,"open_issues_count":3,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-29T08:49:23.167Z","etag":null,"topics":["ezplatform","ezpublish","php","search","solr"],"latest_commit_sha":null,"homepage":"https://netgen.io","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netgen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-24T09:36:19.000Z","updated_at":"2021-10-25T10:01:28.000Z","dependencies_parsed_at":"2023-02-15T09:01:16.107Z","dependency_job_id":null,"html_url":"https://github.com/netgen/ezplatform-search-extra","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/netgen/ezplatform-search-extra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-search-extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-search-extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-search-extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-search-extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netgen","download_url":"https://codeload.github.com/netgen/ezplatform-search-extra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-search-extra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278621837,"owners_count":26017253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ezplatform","ezpublish","php","search","solr"],"created_at":"2024-12-22T07:18:27.338Z","updated_at":"2025-10-06T13:50:21.764Z","avatar_url":"https://github.com/netgen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netgen's extra bits for eZ Platform search\n\n[![Build Status](https://img.shields.io/travis/netgen/ezplatform-search-extra.svg?style=flat-square)](https://travis-ci.com/netgen/ezplatform-search-extra)\n[![Read the Docs](https://img.shields.io/readthedocs/pip.svg?style=flat-square)](https://netgen-ezplatform-search-extra.readthedocs.io/en/latest/index.html)\n[![Downloads](https://img.shields.io/packagist/dt/netgen/ezplatform-search-extra.svg?style=flat-square)](https://packagist.org/packages/netgen/ezplatform-search-extra)\n[![Latest stable](https://img.shields.io/github/release/netgen/ezplatform-search-extra.svg?style=flat-square)](https://packagist.org/packages/netgen/ezplatform-search-extra)\n[![eZ](https://img.shields.io/badge/eZ%20Platform-%E2%89%A5%203.2-orange.svg?style=flat-square)](https://ezplatform.com/)\n[![License](https://img.shields.io/github/license/netgen/ezplatform-search-extra.svg?style=flat-square)](https://packagist.org/packages/netgen/ezplatform-search-extra)\n\n### Other versions\n- release compatible with eZ Platform `3.1` is `2.4`\n- release compatible with eZ Platform `2.x` is `1.14`\n\n## Features\n\nThis only lists all implemented features, see the\n[documentation](https://netgen-ezplatform-search-extra.readthedocs.io)\nfor more details on specific ones.\n\n- [`ContentName`](https://github.com/netgen/ezplatform-search-extra/blob/1.13/lib/API/Values/Content/Query/Criterion/ContentName.php) criterion that works on matched translation's Content name  (`solr`, `legacy`)\n\n- [`ContentName`](https://github.com/netgen/ezplatform-search-extra/blob/1.13/lib/API/Values/Content/Query/SortClause/ContentName.php) sort clause that works on matched translation's Content name  (`solr`, `legacy`)\n\n- [`ContentId`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/ContentId.php) and [`LocationId`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/LocationId.php) criteria with support for range operators  (`solr`, `legacy`)\n\n  Supported operators are: `EQ`, `IN`, `GT`, `GTE`, `LT`, `LTE`, `BETWEEN`.\n\n- [`Visible`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/Visible.php) criterion (`solr`, `legacy`),\n  usable in both Content and Location search. The criterion works on compound visiblity of Content and Location objects:\n  the Content is visible if it's marked as visible; the Location is visible if it's marked as visible, is not hidden by\n  one of its ancestor Locations, and it's Content is visible.\n\n- [Spellcheck suggestions support](https://docs.netgen.io/projects/search-extra/en/latest/reference/spellcheck_suggestions.html) (`solr`)\n\n- [`CustomField`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/SortClause/CustomField.php) sort clause (`solr`)\n\n  Provides a way to sort directly on Solr field by its name.\n\n- Pagerfanta adapters providing access to extra information returned by the search\n  engine, like facets, aggregations, max score and execution time (`solr`, `legacy`):\n\n  - [`SearchAdapter`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/Core/Pagination/Pagerfanta/SearchAdapter.php) when using `API` search service\n  - [`SearchHandlerAdapter`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/Core/Pagination/Pagerfanta/SearchHandlerAdapter.php) when using `SPI` search handler\n\n- A set of User related criteria (`legacy`):\n\n  - [`HasUser`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/HasUser.php) criterion\n  - [`UserEmail`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/UserEmail.php) criterion\n  - [`UserEnabled`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/UserEnabled.php) criterion\n  - [`UserId`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/UserId.php) criterion\n  - [`UserLogin`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/UserLogin.php) criterion\n\n- [`IsFieldEmpty`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/IsFieldEmpty.php) criterion (`solr`)\n\n  Requires initial reindexing after installation.\n\n- [`ObjectStateIdentifier`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/ObjectStateIdentifier.php) criterion (`solr`, `legacy`)\n- [`SectionIdentifier`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/SectionIdentifier.php) criterion (`solr`, `legacy`)\n- Support for custom Content subdocuments (Solr search engine) (`solr`)\n\n  Provides a way to index custom subdocuments to Content document and\n  [`SubdocumentQuery`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/SubdocumentQuery.php)\n  criterion, available in Content search to define grouped conditions for a custom subdocument.\n\n- [`SubdocumentField`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/SortClause/SubdocumentField.php) sort clause (`solr`)\n\n  Provides a way to sort Content by a subdocument field, choosing score calculation mode and optionally limiting with `SubdocumentQuery` criterion.\n\n  **Note:** This will require Solr `6.6` or higher in order to work correctly with all scoring modes.\n\n- [`LocationQuery`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/Criterion/LocationQuery.php) criterion (`solr`, `legacy`)\n\n  Allows grouping of Location criteria so that they apply together on a Location.\n\n- [`CustomFieldFacetBuilder`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/FacetBuilder/CustomFieldFacetBuilder.php) facet builder (`solr`)\n\n  Allows building facets on custom Solr fields.\n\n- [`RawFacetBuilder`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/Core/Search/Solr/API/FacetBuilder/RawFacetBuilder.php) facet builder (`solr`)\n\n  Exposes Solr's [JSON facet API](https://lucene.apache.org/solr/guide/7_4/json-facet-api.html) in full.\n\n- [`Score`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/SortClause/Score.php) sort clause (`solr`)\n\n  Provides a way to sort Content by score value.\n\n- [`Random`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/API/Values/Content/Query/SortClause/Random.php) sort clause (`solr`)\n\n  Provides a way to sort Content randomly.\n  \n- Indexable implementations for [`RichText`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/Core/FieldType/RichText/Indexable.php) and [`XmlText`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/Core/FieldType/XmlText/Indexable.php) (`solr`)\n\n  These implementations shorten text indexed as keyword to 256 characters, which prevents failures\n  when the field's content is too big for Solr's string field. They can be controlled with\n  semantic configuration (showing defaults):\n\n  ```yaml\n  netgen_ez_platform_search_extra:\n      indexable_field_type:\n          ezxmltext:\n              enabled: true\n              short_text_limit: 256\n          ezrichtext:\n              enabled: true\n              short_text_limit: 256\n  ```\n\n- [`Loading`](https://github.com/netgen/ezplatform-search-extra/blob/master/lib/Core/Search/Solr/ResultExtractor/LoadingResultExtractor.php) implementation of result extractor (`solr`)\n\n  Loading result extractor gets it's value objects by loading them from the persistence. This\n  prevents:\n\n    - `UnauthorizedException` failures because of the missing `content/versionread` permission\n    when Content is updated and incremented current version number is not yet indexed in Solr\n    - `NotFoundException` failures when Content/Location is deleted and the corresponding document\n    is not yet removed from Solr index\n\n  Usage of loading result extractor can be controlled with semantic configuration (showing defaults):\n\n  ```yaml\n  netgen_ez_platform_search_extra:\n      use_loading_search_result_extractor: true\n  ```\n\n## Installation\n\nTo install eZ Platform Search Extra first add it as a dependency to your project:\n\n```sh\ncomposer require netgen/ezplatform-search-extra:^2.5\n```\n\nOnce 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:\n\n```php\npublic function registerBundles()\n{\n    ...\n\n    $bundles[] = new Netgen\\Bundle\\EzPlatformSearchExtraBundle\\NetgenEzPlatformSearchExtraBundle;\n\n    return $bundles;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgen%2Fezplatform-search-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetgen%2Fezplatform-search-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgen%2Fezplatform-search-extra/lists"}