Developed with love by KnpLabs Hire us for your project!
50

MassiveSearchBundle

by massiveart

MassiveSearchBundle

.. image:: https://travis-ci.org/massiveart/MassiveSearchBundle.svg?branch=develop
:target: https://travis-ci.org/massiveart/MassiveSearchBundle

The purpose of this bundle is to provide flexible site search functionality.

This means it provides a way to index objects (for example Doctrine entities)
and then to search for them using a query string.

This bundle provides:

  • Choice of search backends (ZendSearch, Elastic Search)
  • Localization
  • Doctrine ORM integration
  • Lots of extension points

By default it is configured to use the Zend Lucene library, which must be
installed (see the suggests and require-dev sections in composer.json.

NOTE: This bundle is under developmenet and is not yet stable.

Installation

You can install the MassiveSearchBundle by adding it to composer.json:

.. code-block:: bash

composer require massive/search-bundle

And then include it in your AppKernel:

.. code-block:: php

class AppKernel
{
    public function registerBundles()
    {
        return array(
            // ...
            new \Massive\Bundle\SearchBundle\MassiveSearchBundle(),
        );
    }
}

You will also need to include a search library. The search libraries are
listed in the suggests section of composer.json, and exact package
versions can also be found in the require-dev section (as all the libraries are tested).

Documentation

See the official documentation_.

.. _documentation: http://massivesearchbundle.readthedocs.org

The MIT License (MIT)

Copyright (c) 2018 MASSIVE ART WebServices GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
massive_search:
services:
factory: massive_search.factory_default
adapter: zend_lucene
adapters:
zend_lucene:
hide_index_exception: false
basepath: %kernel.root_dir%/data
encoding: UTF-8
elastic:
version: 2.2
hosts:

# Default:
- localhost:9200
metadata:
prefix: massive
cache_dir: %kernel.cache_dir%/massive-search
debug: %kernel.debug%
persistence:
doctrine_orm:
enabled: false
  • Extract search in some more methods to ease extending (#148)
    By web-flow, 4 months ago
  • Add namespaces for metadata related to the kernel namespace (#144)
    By web-flow, 5 months ago
  • Fix more code style (#143)
    By web-flow, 6 months ago
  • Fix code style (#142)
    By web-flow, 6 months ago
  • Merge branch 'release/1.x' of https://github.com/massiveart/MassiveSearchBundle into release/2.x
    By alexander-schranz, 6 months ago
  • Fix the data presented in the exception while validating the query (#140)
    By web-flow, 6 months ago
  • Remove CHANGELOG.md
    By alexander-schranz, 7 months ago
  • Merge branch 'master' of https://github.com/massiveart/MassiveSearchBundle into release/2.x
    By alexander-schranz, 7 months ago
  • Merge branch 'release/1.x' of https://github.com/massiveart/MassiveSearchBundle into release/2.x
    By alexander-schranz, 7 months ago
  • Update branch aliases
    By alexander-schranz, 7 months ago
  • Add support for symfony 5 (#134)
    By web-flow, 7 months ago
  • Remove the behat/symfony2-extension and behat/web-api-extension (#139)
    By web-flow, 7 months ago
  • Add app config/massive-search dir as metadataPath (#138)
    By web-flow, 8 months ago
  • Merge branch 'release/1.x' of https://github.com/massiveart/MassiveSearchBundle into release/2.0
    By alexander-schranz, 8 months ago
  • Update branch aliases
    By alexander-schranz, 8 months ago
  • Merge branch 'release/1.1' of https://github.com/massiveart/MassiveSearchBundle into release/2.0
    By alexander-schranz, 8 months ago
  • Set correct branch aliases
    By alexander-schranz, 8 months ago
  • Add support for elasticsearch 6 (#136)
    By web-flow, 8 months ago
  • Bump version
    By danrot, 9 months ago
  • Merge branch 'release/1.0' of https://github.com/massiveart/MassiveSearchBundle into release/2.0
    By alexander-schranz, 10 months ago
  • Use handcrafted in the alps fork for massive search zend lucene tests (#135)
    By danrot, 10 months ago
  • Fix installation instruction in README
    By danrot, 1 year ago
  • Merge pull request #132 from massiveart/feature/dependency-update
    By web-flow, 1 year ago
  • Upgrade symfony dependency to ^4.3
    By alexander-schranz, 1 year ago
  • Fix texts
    By alexander-schranz, 1 year ago
  • Increase phpunit version
    By alexander-schranz, 1 year ago
  • Update jms/metadata dependency
    By alexander-schranz, 1 year ago
  • Make massive test adapter public (#133)
    By wachterjohannes, 1 year ago
  • Fix date in Upgrade file
    By alexander-schranz, 1 year ago
  • Merge pull request #130 from massiveart/enhancement/command-default-name
    By web-flow, 1 year ago