2017 © Pedro Peláez
 

neos-package elasticsearch-contentrepositoryqueueindexer

Neos CMS Elasticsearch indexer based on a job queue

image

flowpack/elasticsearch-contentrepositoryqueueindexer

Neos CMS Elasticsearch indexer based on a job queue

  • Friday, June 22, 2018
  • by ttree
  • Repository
  • 4 Watchers
  • 4 Stars
  • 4,788 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 13 Forks
  • 2 Open issues
  • 31 Versions
  • 11 % Grown

The README.md

Neos CMS Elasticsearch indexer based on a job queue

Latest Stable Version Total Downloads, (*1)

This package can be used to index a huge amount of nodes in Elasticsearch indexes. This package use the Flowpack JobQueue packages to handle the indexing asynchronously., (*2)

Topics, (*3)

Installation and Configuration

You need to install the correct Queue package based on your needs., (*4)

Available packages:, (*5)

Please check the package documentation for specific configurations., (*6)

The default configuration uses the FakeQueue, which is provided by the JobQueue.Common package. Note that with that package jobs are executed synchronous with the flow nodeindexqueue:build command., (*7)

Check the Settings.yaml to adapt based on the Queue package, you need to adapt the className:, (*8)

Flowpack:
  JobQueue:
    Common:
      presets:
        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
          className: 'Flowpack\JobQueue\Common\Queue\FakeQueue'

If you use the doctrine package you have to set the tableName manually:, (*9)

Flowpack:
  JobQueue:
    Common:
      presets:
        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
          className: 'Flowpack\JobQueue\Doctrine\Queue\DoctrineQueue'
      queues:
        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
          options:
            tableName: 'flowpack_jobqueue_QueueIndexer'
        'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer.Live':
          options:
            tableName: 'flowpack_jobqueue_QueueIndexerLive'

Indexing

Batch Indexing

How to build indexing jobs

flow nodeindexqueue:build --workspace live

How to process indexing jobs

You can use this CLI command to process indexing job:, (*10)

flow nodeindexqueue:work --queue batch

Live Indexing

You can disable async live indexing by editing Settings.yaml:, (*11)

Flowpack:
  ElasticSearch:
    ContentRepositoryQueueIndexer:
      enableLiveAsyncIndexing: false

You can use this CLI command to process indexing job:, (*12)

flow nodeindexqueue:work --queue live

Supervisord configuration

You can use tools like supervisord to manage long running processes. Bellow you can find a basic configuration:, (*13)

[supervisord]

[supervisorctl]

[program:elasticsearch_batch_indexing]
command=php flow nodeindexqueue:work --queue batch
stdout_logfile=AUTO
stderr_logfile=AUTO
numprocs=4
process_name=elasticsearch_batch_indexing_%(process_num)02d
environment=FLOW_CONTEXT="Production"
autostart=true
autorestart=true
stopsignal=QUIT

[program:elasticsearch_live_indexing]
command=php flow nodeindexqueue:work --queue live
stdout_logfile=AUTO
stderr_logfile=AUTO
numprocs=4
process_name=elasticsearch_live_indexing_%(process_num)02d
environment=FLOW_CONTEXT="Production"
autostart=true
autorestart=true
stopsignal=QUIT

Update Instructions

Breaking change after an upgrade to 3.0

  • Previously the Beanstalk queue package was installed by default, this is no longer the case.

Breaking change after an upgrade to 5.0

  • The beanstalk queue configuration is removed. The FakeQueue is used if not configured to another queuing package.

License

Licensed under MIT, see LICENSE, (*14)

The Versions

22/06 2018

dev-master

9999999-dev

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

22/06 2018

3.1.0

3.1.0.0

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

12/04 2018

3.0.x-dev

3.0.9999999.9999999-dev http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

MIT LGPL-3.0-only

The Requires

 

04/02 2018

3.0.4

3.0.4.0

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

02/02 2018

dev-feature-support-oneindex-per-dimensionscombination

dev-feature-support-oneindex-per-dimensionscombination

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

02/02 2018

dev-dfeyer-patch-1

dev-dfeyer-patch-1

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

02/02 2018

3.0.3

3.0.3.0

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

02/02 2018

2.0.x-dev

2.0.9999999.9999999-dev

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

MIT

The Requires

 

02/02 2018

2.0.6

2.0.6.0

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

MIT

The Requires

 

31/01 2018

3.0.2

3.0.2.0

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

30/01 2018

4.0.6

4.0.6.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

LGPL-3.0

The Requires

 

14/12 2017

3.0.5

3.0.5.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

LGPL-3.0

The Requires

 

19/10 2017

4.0.5

4.0.5.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

LGPL-3.0

The Requires

 

18/10 2017

3.0.1

3.0.1.0

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

04/10 2017

3.0.0

3.0.0.0

Neos CMS Elasticsearch indexer based on a job queue

  Sources   Download

MIT

The Requires

 

21/06 2017

4.0.4

4.0.4.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

LGPL-3.0

The Requires

 

21/06 2017

2.0.7

2.0.7.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of TYPO3CR.Search

  Sources   Download

LGPL-3.0

The Requires

 

17/05 2017

4.0.3

4.0.3.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

LGPL-3.0

The Requires

 

19/04 2017

4.0.2

4.0.2.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

LGPL-3.0

The Requires

 

27/03 2017

2.0.5

2.0.5.0

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

MIT

The Requires

 

17/03 2017

4.0.1

4.0.1.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

LGPL-3.0

The Requires

 

24/02 2017

4.0.0

4.0.0.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of Neos.ContentRepository.Search

  Sources   Download

LGPL-3.0

The Requires

 

14/02 2017

2.0.4

2.0.4.0

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

MIT

The Requires

 

12/01 2017

2.0.3

2.0.3.0

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

MIT

The Requires

 

12/01 2017

2.0.2

2.0.2.0

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

MIT

The Requires

 

25/10 2016

1.2.x-dev

1.2.9999999.9999999-dev http://flowpack.org/

This package provides functionality for using Elasticsearch on top of TYPO3CR.Search

  Sources   Download

LGPL-3.0+

The Requires

 

04/08 2016

2.0.1

2.0.1.0

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

MIT

The Requires

 

11/07 2016

2.0

2.0.0.0

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

MIT

The Requires

 

06/07 2015

1.0

1.0.0.0

Neos CMS ElasticSearch indexer based on beanstalkd (job queue)

  Sources   Download

The Requires

 

17/02 2015

1.2.0

1.2.0.0 http://flowpack.org/

This package provides functionality for using Elasticsearch on top of TYPO3CR.Search

  Sources   Download

LGPL-3.0+

The Requires

 

26/05 2014

0.5.0

0.5.0.0 http://flowpack.org/

This package provides functionality for the interaction of elasticsearch engine and TYPO3CR.

  Sources   Download

LGPL-3.0+

The Requires