Skip to content

queoGmbH/content-repository-search

 
 

Repository files navigation

Neos.ContentRepository.Search

Build Status Latest Stable Version Total Downloads

A Neos Content Repository search common package used to implement concrete indexing and search functionality.

Related packages

Some of the related packages are:

To use Elasticsearch for indexing and searching.

Uses a SQLite database for indexing and search and thus can be used without additional dependencies.

A plugin to offer search functionality to users via Fusion rendering.

Inner workings

The NodeIndexingManager listens to signals emitted from Neos Content Repository and the PersistenceManager if realtimeIndexing.enabled is true (which it defaults to).

  • nodeAdded, nodeUpdated, afterNodePublishing trigger indexNode()
  • nodeRemoved triggers removeNode()
  • allObjectsPersisted triggers flushQueues

During a single request the queue with index changes is only flushed once the indexingBatchSize has been reached (see flushQueuesIfNeeded()).

In case the operation queues are flushed, the IndexingManager in turn uses the NodeIndexer to run indexNode() and removeNode() respectively.

If realtimeIndexing.enabled is false, the node index is only updated when built manually.

About

Neos Contentrepository search common package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.1%
  • HTML 4.9%