{"id":26234864,"url":"https://github.com/flowpack/flowpack.simplesearch.contentrepositoryadaptor","last_synced_at":"2025-04-05T06:09:29.299Z","repository":{"id":16224830,"uuid":"18972171","full_name":"Flowpack/Flowpack.SimpleSearch.ContentRepositoryAdaptor","owner":"Flowpack","description":"Adaptor for the Neos CR, based on the SimpleSearch package","archived":false,"fork":false,"pushed_at":"2025-03-12T14:22:40.000Z","size":152,"stargazers_count":23,"open_issues_count":7,"forks_count":24,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-29T05:09:55.693Z","etag":null,"topics":["neoscms"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flowpack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-04-20T19:33:03.000Z","updated_at":"2021-10-14T11:28:57.000Z","dependencies_parsed_at":"2025-03-13T02:45:15.487Z","dependency_job_id":null,"html_url":"https://github.com/Flowpack/Flowpack.SimpleSearch.ContentRepositoryAdaptor","commit_stats":{"total_commits":131,"total_committers":16,"mean_commits":8.1875,"dds":0.5038167938931297,"last_synced_commit":"5b62c98bf2b45899e1f0a9baeedaec47e450e880"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2FFlowpack.SimpleSearch.ContentRepositoryAdaptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2FFlowpack.SimpleSearch.ContentRepositoryAdaptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2FFlowpack.SimpleSearch.ContentRepositoryAdaptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2FFlowpack.SimpleSearch.ContentRepositoryAdaptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flowpack","download_url":"https://codeload.github.com/Flowpack/Flowpack.SimpleSearch.ContentRepositoryAdaptor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294541,"owners_count":20915340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neoscms"],"created_at":"2025-03-13T02:29:33.389Z","updated_at":"2025-04-05T06:09:29.264Z","avatar_url":"https://github.com/Flowpack.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![SensioLabs Insight](https://insight.sensiolabs.com/projects/f65658fd-394a-4cd3-8c7b-639680eb4404/small.png)](https://insight.sensiolabs.com/projects/f65658fd-394a-4cd3-8c7b-639680eb4404)\n[![Code Climate](https://codeclimate.com/github/kitsunet/Flowpack.SimpleSearch.ContentRepositoryAdaptor/badges/gpa.svg)](https://codeclimate.com/github/kitsunet/Flowpack.SimpleSearch.ContentRepositoryAdaptor)\n\nSimpleSearch ContentRepositoryAdaptor\n=====================================\n\nA search for the Neos Content Repository based on the SimpleSearch. This package\nis an implementation of the Neos.ContentRepository.Search API.\n\n\nUsage is pretty easy. Install this (and Flowpack.SimpleSearch will follow).\n\nRun the command:\n\n./flow nodeindex:build\n\nAfter that use the \"Search\" helper in EEL or the QueryBuilder in PHP to query the\nindex.\n\nWith a few hundred nodes queries should be answered in a few milliseconds max.\nMy biggest test so far was with around 23000 nodes which still got me reasonable\nquery times of about 300ms.\nIf you have more Nodes to index you should probably consider using a \"real\" search\nengine like ElasticSearch.\n\nUsing MySQL\n-----------\n\nTo use MySQL, switch the implementation for the interfaces in your `Objects.yaml`\nand configure the DB connection as needed:\n\n    Flowpack\\SimpleSearch\\Domain\\Service\\IndexInterface:\n      className: 'Flowpack\\SimpleSearch\\Domain\\Service\\MysqlIndex'\n    \n    Neos\\ContentRepository\\Search\\Search\\QueryBuilderInterface:\n      className: 'Flowpack\\SimpleSearch\\ContentRepositoryAdaptor\\Search\\MysqlQueryBuilder'\n    \n    Flowpack\\SimpleSearch\\Domain\\Service\\MysqlIndex:\n      arguments:\n        1:\n          value: 'Neos_CR'\n        2:\n          value: 'mysql:host=%env:DATABASE_HOST%;dbname=%env:DATABASE_NAME%;charset=utf8mb4'\n      properties:\n        username:\n          value: '%env:DATABASE_USERNAME%'\n        password:\n          value: '%env:DATABASE_PASSWORD%'\n\nThe `arguments` are the index identifier (can be chosen freely) and the DSN.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowpack%2Fflowpack.simplesearch.contentrepositoryadaptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowpack%2Fflowpack.simplesearch.contentrepositoryadaptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowpack%2Fflowpack.simplesearch.contentrepositoryadaptor/lists"}