PHPackages                             se7enxweb/ezplatform-solr-search-engine - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. se7enxweb/ezplatform-solr-search-engine

ActiveEzplatform-bundle[Search &amp; Filtering](/categories/search)

se7enxweb/ezplatform-solr-search-engine
=======================================

Solr search engine implementation for eZ Platform

v3.3.18(7mo ago)2365GPL-2.0-or-laterPHPPHP ^7.3 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4

Since Jul 28Pushed 2mo agoCompare

[ Source](https://github.com/se7enxweb/ezplatform-solr-search-engine)[ Packagist](https://packagist.org/packages/se7enxweb/ezplatform-solr-search-engine)[ Docs](https://github.com/se7enxweb/ezplatform-solr-search-engine)[ RSS](/packages/se7enxweb-ezplatform-solr-search-engine/feed)WikiDiscussions 1.7 Synced 1mo ago

READMEChangelog (2)Dependencies (17)Versions (171)Used By (5)

Solr Search Engine Bundle for eZ Platform
=========================================

[](#solr-search-engine-bundle-for-ez-platform)

[![Build Status](https://camo.githubusercontent.com/a0b0be986e353ce6ee00579979292f896f5256d2d8feb73c5f542fb7ffcad688/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f657a73797374656d732f657a706c6174666f726d2d736f6c722d7365617263682d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ezsystems/ezplatform-solr-search-engine)[![Downloads](https://camo.githubusercontent.com/299f2fff876972ea6397c153708e5331a1e0448f95e9740cb10cc80aa46ded63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657a73797374656d732f657a706c6174666f726d2d736f6c722d7365617263682d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ezsystems/ezplatform-solr-search-engine)[![Latest release](https://camo.githubusercontent.com/ae0d8b5e18dfa29a8f8a57ab600f4085b2cb63040bd70270587fc4741f7f3121/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f657a73797374656d732f657a706c6174666f726d2d736f6c722d7365617263682d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ezsystems/ezplatform-solr-search-engine/releases)[![License](https://camo.githubusercontent.com/012fcfb29c8cc703856ffecff6794efd933096142f5d15efc43880deccaebc9a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f657a73797374656d732f657a706c6174666f726d2d736f6c722d7365617263682d656e67696e652e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Solr Search Engine Bundle for use with:

- v1.6+: eZ Platform 2.5LTS+ *(bundled out of the box)* with Solr 6.x *(recommended: 6.6 which is an LTS)*
- v1.5: eZ Platform 1.7LTS &amp; 1.13LTS *(bundled out of the box)* with Solr 6.x or 4.10.4 *(recommended: 6.6 which is an LTS, and certain features only work on Solr 6)*
- v1.0.x: eZ Publish Platform Enterprise 5.4.5+ *(optional, not as feature rich but helpful for scaling filtering queries)* with Solr 4.10.4

##### Overview of features

[](#overview-of-features)

FeatureSolr Search EngineLegacy Search Engine *(SQL)*FilteringYesYes, but limited\*Query *(filter with scoring)*YesOnly filters, no scoringFulltextYes, incl advance featuresPartly\*\*Faceting[Partly as of v1.4](https://doc.ezplatform.com/en/latest/api/public_php_api_browsing/#performing-a-faceted-search)NoSpellcheckingPlanned *(TBD when)*NoHighlightingPlanned *(TBD when)*NoIndex time boosting[Yes, as of v1.4](https://github.com/ezsystems/ezplatform-solr-search-engine/releases/tag/v1.4.0)No*\* Usage of Criterion and SortClause for Fields does not perform well on medium to larger amount of data with Legacy Search Engine (SQL), use Solr for this.*

*\*\* Does not include full set of full text features includes: Scoring/Ranking *(Solr Search Engine does sorting on scoring by default, for location search available as of [v1.3](https://github.com/ezsystems/ezplatform-solr-search-engine/releases/tag/v1.3.0) with Solr 6.x)*, and as of [Solr Search Engine v1.5](https://github.com/ezsystems/ezplatform-solr-search-engine/releases/tag/v1.5.0)supports advanced full text capabilities such as `word "phrase" (group) +mandatory -prohibited AND && OR || NOT !`*

Install
-------

[](#install)

For how to install and configure see:

- eZ Platform:
- eZ Publish Platform 5.4.x:

### Testing locally

[](#testing-locally)

For Contributing to this Bundle, you should make sure to run both unit and integration tests *(from ezpublish-kernel repo)*.

1. Setup this repository locally

    ```
    git clone git@github.com:ezsystems/ezplatform-solr-search-engine.git solr
    cd solr
    composer install
    ```

    At this point you should be able to run unit tests:

    ```
    php vendor/bin/phpunit --bootstrap tests/bootstrap.php
    ```
2. Get &amp; extract Solr

    E.g. one of the following:

    - [Solr 6.6.5](https://archive.apache.org/dist/lucene/solr/6.6.5/solr-6.6.5.tgz)
3. Configure Solr *(single core)*

    *Note: See .travis.yml and bin/.travis/init\_solr.sh for multi core setups*

    ```
    # Solr 6
    cd solr-6.6.5
    mkdir -p server/ez/template
    cp -R /lib/Resources/config/solr/* server/ez/template
    cp server/solr/configsets/basic_configs/conf/{currency.xml,solrconfig.xml,stopwords.txt,synonyms.txt,elevate.xml} server/ez/template
    cp server/solr/solr.xml server/ez
    ## Modify solrconfig.xml to remove section that doesn't agree with our schema
    sed -i.bak '//,//d' server/ez/template/solrconfig.xml
    ```

    ###### For use in production/dev

    [](#for-use-in-productiondev)

    Note that Solr Bundle does not commit changes directly on repository updates, which can lead to issues of content not showing up in the index. You can control this by adjusting `autoSoftCommit` *(visibility of change to search index)* and `autoCommit` *(hard commit, for durability and replication)* values in `solrconfig.xml`.

    Example of working `solrconfig.xml` settings that you can use to tune for your needs, change from defaults is on `autoSoftCommit` from `-1` *(disabled)* to `20`ms:

    ```

        ${solr.autoCommit.maxTime:15000}
        false

        ${solr.autoSoftCommit.maxTime:20}

    ```

    ###### TIP for automating generating of config

    [](#tip-for-automating-generating-of-config)

    You may also use the command line tool `bin/generate-solr-config.sh` to generate the Solr 6 configuration instead of these instructions. This is particular convenient if deploying to eZ Platform Cloud (Platform.sh), but can also be used for on-premise installs.

    The script should be executed from the eZ Platform root directory, run the following for more info:

    ```
    ./vendor/ezsystems/ezplatform-solr-search-engine/bin/generate-solr-config.sh --help
    ```
4. Start Solr

    ```
    # Solr 6
    cd solr-6.6.5
    bin/solr -s ez
    ## You'll also need to add cores on Solr 6, this adds single core setup:
    bin/solr create_core -c collection1 -d server/ez/template
    ```
5. Run integration tests

    ```
    export CORES_SETUP="single"
    php -d memory_limit=-1 vendor/bin/phpunit --bootstrap tests/bootstrap.php -vc vendor/ezsystems/ezpublish-kernel/phpunit-integration-legacy-solr.xml
    ```

Copyright &amp; license
-----------------------

[](#copyright--license)

Copyright eZ Systems AS, for copyright and license details see provided LICENSE file.

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance76

Regular maintenance activity

Popularity11

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity99

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 59.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Recently: every ~61 days

Total

158

Last Release

71d ago

Major Versions

v1.7.11 → v3.3.82022-05-31

v1.7.12 → v2.0.22023-11-03

v2.0.2 → v3.3.152023-11-03

v1.6.1 → v3.3.172024-07-10

v1.7.13 → v3.3.182025-09-28

PHP version history (8 changes)v1.0.3-rc1PHP ^5.4.4|~7.0

v1.1.0-beta1PHP ~5.5|~7.0

v1.2.0-beta1PHP ~5.6|~7.0

v1.6.0-rc1PHP ^7.1

v2.0.0-beta1PHP ^7.3

v3.3.5PHP ^7.3 || ^8.0

v1.7.13PHP ^7.1 || ^8.1 || ^8.2

v3.3.18PHP ^7.3 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a5049c5b1e7a22c301a2472d09281be35f717da316873861c1a8ae785ada7a?d=identicon)[7x](/maintainers/7x)

---

Top Contributors

[![pspanja](https://avatars.githubusercontent.com/u/1135425?v=4)](https://github.com/pspanja "pspanja (210 commits)")[![andrerom](https://avatars.githubusercontent.com/u/289757?v=4)](https://github.com/andrerom "andrerom (55 commits)")[![alongosz](https://avatars.githubusercontent.com/u/7099219?v=4)](https://github.com/alongosz "alongosz (27 commits)")[![adamwojs](https://avatars.githubusercontent.com/u/211967?v=4)](https://github.com/adamwojs "adamwojs (7 commits)")[![kmadejski](https://avatars.githubusercontent.com/u/10659510?v=4)](https://github.com/kmadejski "kmadejski (6 commits)")[![lolautruche](https://avatars.githubusercontent.com/u/313528?v=4)](https://github.com/lolautruche "lolautruche (6 commits)")[![mateuszbieniek](https://avatars.githubusercontent.com/u/38975612?v=4)](https://github.com/mateuszbieniek "mateuszbieniek (6 commits)")[![MarioBlazek](https://avatars.githubusercontent.com/u/6605175?v=4)](https://github.com/MarioBlazek "MarioBlazek (4 commits)")[![mnocon](https://avatars.githubusercontent.com/u/10993858?v=4)](https://github.com/mnocon "mnocon (4 commits)")[![ibexa-yuna](https://avatars.githubusercontent.com/u/67897517?v=4)](https://github.com/ibexa-yuna "ibexa-yuna (3 commits)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (2 commits)")[![galileo](https://avatars.githubusercontent.com/u/39776?v=4)](https://github.com/galileo "galileo (2 commits)")[![wizhippo](https://avatars.githubusercontent.com/u/1456102?v=4)](https://github.com/wizhippo "wizhippo (2 commits)")[![se7enxweb](https://avatars.githubusercontent.com/u/51429274?v=4)](https://github.com/se7enxweb "se7enxweb (2 commits)")[![vidarl](https://avatars.githubusercontent.com/u/289778?v=4)](https://github.com/vidarl "vidarl (2 commits)")[![devmysz](https://avatars.githubusercontent.com/u/34576224?v=4)](https://github.com/devmysz "devmysz (2 commits)")[![harmstyler](https://avatars.githubusercontent.com/u/1421469?v=4)](https://github.com/harmstyler "harmstyler (1 commits)")[![sklimaszewski](https://avatars.githubusercontent.com/u/15861042?v=4)](https://github.com/sklimaszewski "sklimaszewski (1 commits)")[![mateuszdebinski](https://avatars.githubusercontent.com/u/58430570?v=4)](https://github.com/mateuszdebinski "mateuszdebinski (1 commits)")[![erdnaxelaweb](https://avatars.githubusercontent.com/u/2130120?v=4)](https://github.com/erdnaxelaweb "erdnaxelaweb (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/se7enxweb-ezplatform-solr-search-engine/health.svg)

```
[![Health](https://phpackages.com/badges/se7enxweb-ezplatform-solr-search-engine/health.svg)](https://phpackages.com/packages/se7enxweb-ezplatform-solr-search-engine)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
