All Projects → Flowpack → Flowpack.SimpleSearch.ContentRepositoryAdaptor

Flowpack / Flowpack.SimpleSearch.ContentRepositoryAdaptor

Licence: MIT license
Adaptor for the Neos CR, based on the SimpleSearch package

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Labels

Projects that are alternatives of or similar to Flowpack.SimpleSearch.ContentRepositoryAdaptor

intellij-neos
Support for the Neos CMS in Intellij IDEA / PhpStorm
Stars: ✭ 37 (+60.87%)
Mutual labels:  neoscms
Psmb.Newsletter
Render email newsletters with Fusion in Neos CMS
Stars: ✭ 12 (-47.83%)
Mutual labels:  neoscms
EelShell
A shell for EEL expressions
Stars: ✭ 17 (-26.09%)
Mutual labels:  neoscms
graphql
Flow Package to add graphql APIs to Neos and Flow that also supports some advanced features
Stars: ✭ 14 (-39.13%)
Mutual labels:  neoscms
NeosAcl
No description or website provided.
Stars: ✭ 13 (-43.48%)
Mutual labels:  neoscms
Networkteam.Neos.MailObfuscator
Email address obfuscation for Neos CMS
Stars: ✭ 13 (-43.48%)
Mutual labels:  neoscms
flow-debugproxy
A Flow Framework Debug proxy for xDebug, written in Go
Stars: ✭ 24 (+4.35%)
Mutual labels:  neoscms
Flowpack.SearchPlugin
A simple search plugin for Neos
Stars: ✭ 23 (+0%)
Mutual labels:  neoscms
fusion-form
No description or website provided.
Stars: ✭ 16 (-30.43%)
Mutual labels:  neoscms
Sitegeist.Monocle
An fusion based styleguide implementation for Neos
Stars: ✭ 46 (+100%)
Mutual labels:  neoscms
Newsletter
Neos Newsletter Sending Package
Stars: ✭ 19 (-17.39%)
Mutual labels:  neoscms
Carbon.Gulp
Carbon/Gulp is a delicious blend of tasks and build tools poured into Gulp to form a full-featured modern asset pipeline for Flow Framework and Neos CMS.
Stars: ✭ 15 (-34.78%)
Mutual labels:  neoscms
form-builder
Flow Form Framework integration into Neos CMS
Stars: ✭ 17 (-26.09%)
Mutual labels:  neoscms
KaufmannDigital.GDPR.CookieConsent
A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.
Stars: ✭ 21 (-8.7%)
Mutual labels:  neoscms
varnish
Varnish integration for Neos CMS
Stars: ✭ 19 (-17.39%)
Mutual labels:  neoscms
Sitegeist.Taxonomy
Manage vocabularies and taxonomies as separate node-hierarchy.
Stars: ✭ 14 (-39.13%)
Mutual labels:  neoscms
Sitegeist.Kaleidoscope
Responsive Images for Neos CMS
Stars: ✭ 27 (+17.39%)
Mutual labels:  neoscms
Sitegeist.MagicWand
Tools that make the Flow/Neos development easier
Stars: ✭ 47 (+104.35%)
Mutual labels:  neoscms
Yeebase.Fusion.ContentCacheDebug
Helper package to debug fusions content cache
Stars: ✭ 13 (-43.48%)
Mutual labels:  neoscms
neos-blog
A simple blog plugin for Neos CMS
Stars: ✭ 17 (-26.09%)
Mutual labels:  neoscms

SensioLabs Insight Code Climate

SimpleSearch ContentRepositoryAdaptor

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

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

Run the command:

./flow nodeindex:build

After that use the "Search" helper in EEL or the QueryBuilder in PHP to query the index.

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.

Using MySQL

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

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].