{"id":26234872,"url":"https://github.com/flowpack/flowpack.simplesearch","last_synced_at":"2025-04-22T14:52:39.689Z","repository":{"id":16223457,"uuid":"18970768","full_name":"Flowpack/Flowpack.SimpleSearch","owner":"Flowpack","description":"A simple php/sqlite search engine for generic data.","archived":false,"fork":false,"pushed_at":"2025-03-15T07:50:35.000Z","size":118,"stargazers_count":22,"open_issues_count":4,"forks_count":14,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T16:11:14.254Z","etag":null,"topics":[],"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-20T18:23:47.000Z","updated_at":"2024-11-08T12:27:03.000Z","dependencies_parsed_at":"2025-03-13T02:45:14.136Z","dependency_job_id":null,"html_url":"https://github.com/Flowpack/Flowpack.SimpleSearch","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2FFlowpack.SimpleSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2FFlowpack.SimpleSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2FFlowpack.SimpleSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2FFlowpack.SimpleSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flowpack","download_url":"https://codeload.github.com/Flowpack/Flowpack.SimpleSearch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250263608,"owners_count":21401919,"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":[],"created_at":"2025-03-13T02:29:41.206Z","updated_at":"2025-04-22T14:52:39.683Z","avatar_url":"https://github.com/Flowpack.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flowpack.SimpleSearch\n\n[![Latest Stable Version](https://poser.pugx.org/flowpack/simplesearch/v/stable)](https://packagist.org/packages/flowpack/simplesearch) [![Total Downloads](https://poser.pugx.org/flowpack/simplesearch/downloads)](https://packagist.org/packages/flowpack/simplesearch)\n\nA simple php search engine based on SQLite or MySQL. Performance is acceptable but\ndecreases quickly with the amount of entries.\nDepending on the queries you want to perform a sane upper limit is somewhere around\n50000 entries (for SQLite).\n\nThis package has no hard dependencies on anything so could be used in any project.\n\nIf you look at the code the sqlite storage of properties looks pretty strange but\nwith SQlite3 the actual storage type is determined per row, so a column can contain\ndifferent data types in each row. That should make all those empty rows more or less\nacceptable. We are trying to mimic a document database here after all.\n\n## Using 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","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowpack%2Fflowpack.simplesearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowpack%2Fflowpack.simplesearch/lists"}