2017 © Pedro Peláez
 

neos-package simplesearch-contentrepositoryadaptor

Implements a bridge to search in Neos CR via the flowpack/simplesearch package.

image

flowpack/simplesearch-contentrepositoryadaptor

Implements a bridge to search in Neos CR via the flowpack/simplesearch package.

  • Tuesday, March 7, 2017
  • by kitsunet
  • Repository
  • 4 Watchers
  • 22 Stars
  • 6,666 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 20 Forks
  • 4 Open issues
  • 15 Versions
  • 4 % Grown

The README.md

SimpleSearch ContentRepositoryAdaptor

Latest Stable Version Total Downloads, (*1)

A search for the Neos Content Repository based on the SimpleSearch. This package is an implementation of the Neos.ContentRepository.Search API., (*2)

Usage is pretty easy. Install this (and Flowpack.SimpleSearch will follow)., (*3)

Run the command:, (*4)

./flow nodeindex:build, (*5)

After that use the "Search" helper in EEL or the QueryBuilder in PHP to query the index., (*6)

With a few hundred nodes queries should be answered in a few milliseconds max. My biggest test so far was with around 23000 nodes which still got me reasonable query times of about 300ms. If you have more Nodes to index you should probably consider using a "real" search engine like ElasticSearch., (*7)

Using MySQL

To use MySQL, switch the implementation for the interfaces in your Objects.yaml and configure the DB connection as needed:, (*8)

Flowpack\SimpleSearch\Domain\Service\IndexInterface:
  className: 'Flowpack\SimpleSearch\Domain\Service\MysqlIndex'

Neos\ContentRepository\Search\Search\QueryBuilderInterface:
  className: 'Flowpack\SimpleSearch\ContentRepositoryAdaptor\Search\MysqlQueryBuilder'

Flowpack\SimpleSearch\Domain\Service\MysqlIndex:
  arguments:
    1:
      value: 'Neos_CR'
    2:
      value: 'mysql:host=%env:DATABASE_HOST%;dbname=%env:DATABASE_NAME%;charset=utf8mb4'
  properties:
    username:
      value: '%env:DATABASE_USERNAME%'
    password:
      value: '%env:DATABASE_PASSWORD%'

The arguments are the index identifier (can be chosen freely) and the DSN., (*9)

The Versions

07/03 2017
15/02 2017

1.4.x-dev

1.4.9999999.9999999-dev

Implements a bridge to search in TYPO3CR via the flowpack/simplesearch package.

  Sources   Download

MIT

The Requires

 

15/02 2017

1.4.0

1.4.0.0

Implements a bridge to search in TYPO3CR via the flowpack/simplesearch package.

  Sources   Download

MIT

The Requires

 

27/02 2016

1.3.x-dev

1.3.9999999.9999999-dev

Implements a bridge to search in TYPO3CR via the flowpack/simplesearch package.

  Sources   Download

MIT

The Requires

 

27/02 2016

1.3.1

1.3.1.0

Implements a bridge to search in TYPO3CR via the flowpack/simplesearch package.

  Sources   Download

MIT

The Requires

 

29/06 2015

1.2.x-dev

1.2.9999999.9999999-dev

Implement search specific for the TYPO3CR

  Sources   Download

MIT

The Requires

 

29/06 2015

1.3.0

1.3.0.0

Implements a bridge to search in TYPO3CR via the flowpack/simplesearch package.

  Sources   Download

MIT

The Requires

 

29/06 2015

1.2.3

1.2.3.0

Implement search specific for the TYPO3CR

  Sources   Download

MIT

The Requires

 

28/03 2015

1.2.2

1.2.2.0

Implement search specific for the TYPO3CR

  Sources   Download

MIT

The Requires

 

23/01 2015

1.2.1

1.2.1.0

Implement search specific for the TYPO3CR

  Sources   Download

MIT

The Requires

 

22/01 2015

1.2.0

1.2.0.0

Implement search specific for the TYPO3CR

  Sources   Download

MIT

The Requires

 

24/08 2014

0.5

0.5.0.0

Implement search specific for the TYPO3CR

  Sources   Download

MIT

The Requires