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

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:: javascript

"require": {
    ...
    "massive/search-bundle": "~1.0@dev"
}

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

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
  • Added a section about paging the search results (#112)
    By wachterjohannes, 1 year ago
  • Merge branch 'master' of https://github.com/massiveart/MassiveSearchBundle into develop
    By wachterjohannes, 1 year ago
  • increase php memory_limit and fixed elasticsearch-installation for travis (#111)
    By alexander-schranz, 1 year ago
  • Merge branch 'master' of https://github.com/massiveart/MassiveSearchBundle into develop
    By wachterjohannes, 1 year ago
  • prepared release
    By wachterjohannes, 1 year ago
  • No size when limit empty (#108)
    By wachterjohannes, 1 year ago
  • Merge branch 'master' into develop
    By danrot, 1 year ago
  • updated changelog
    By danrot, 1 year ago
  • Merge pull request #107 from wachterjohannes/bugfix/encoded-name
    By web-flow, 1 year ago
  • added encode and decode field-name to elasticsearch adapter
    By wachterjohannes, 1 year ago
  • Merge branch 'master' into develop
    By danrot, 2 years ago
  • bumped version
    By danrot, 2 years ago
  • Merge branch 'develop'
    By danrot, 2 years ago
  • added __id field for compatability reasons (#104)
    By chirimoya, 2 years ago
  • added version config parameter (#103)
    By chirimoya, 2 years ago
  • Added .gitkeep (#102)
    By wachterjohannes, 2 years ago
  • minor documentation fixes (#100)
    By wachterjohannes, 2 years ago
  • Merge branch 'master' into develop
    By danrot, 2 years ago
  • bumped versions
    By danrot, 2 years ago
  • Merge branch 'develop'
    By danrot, 2 years ago
  • Merge pull request #98 from massiveart/feature/json-converter
    By web-flow, 2 years ago
  • added json converter
    By wachterjohannes, 2 years ago
  • Merge branch 'master' into develop
    By danrot, 2 years ago
  • bumped version
    By danrot, 2 years ago
  • Merge branch 'develop'
    By danrot, 2 years ago
  • fixed test-adapter and empty result
    By wachterjohannes, 2 years ago
  • Merge pull request #79 from thomasduenser/feature/offset-limit
    By web-flow, 2 years ago
  • Merge pull request #96 from massiveart/enhancement/upgrade-elastic
    By web-flow, 2 years ago
  • updated dependencies
    By wachterjohannes, 2 years ago
  • Merge branch 'master' into develop
    By danrot, 2 years ago