From 419070b41e6a7dc7a8a20288e9b5b32680cb28b7 Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Sat, 15 Mar 2025 09:10:37 +0100 Subject: [PATCH 1/2] TASK: Declare Neos 9 compatibility --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8455175..c9ab0ef 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "description": "Plain PHP search engine using sqlite3 or MySQL as storage backend.", "license": "MIT", "require": { - "neos/flow": "^5.0 || ^6.0 || ^7.0 || ^8.0 || dev-master" + "neos/flow": "^7.3 || ^8.0 || ^9.0 || dev-master" }, "autoload": { "psr-4": { From f2ab052fa3460262bee50376fe9e4371fca1df2b Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Sat, 15 Mar 2025 09:10:50 +0100 Subject: [PATCH 2/2] TASK: Clean up README --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a4a00df..d8f77e1 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ -[![SensioLabs Insight](https://insight.sensiolabs.com/projects/dba9eb6e-83de-43f4-80c6-04d273178f37/small.png)](https://insight.sensiolabs.com/projects/dba9eb6e-83de-43f4-80c6-04d273178f37) -[![Code Climate](https://codeclimate.com/github/kitsunet/Flowpack.SimpleSearch/badges/gpa.svg)](https://codeclimate.com/github/kitsunet/Flowpack.SimpleSearch) +# Flowpack.SimpleSearch -Flowpack.SimpleSearch -===================== +[![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) A simple php search engine based on SQLite or MySQL. Performance is acceptable but decreases quickly with the amount of entries. @@ -11,17 +9,13 @@ Depending on the queries you want to perform a sane upper limit is somewhere aro This package has no hard dependencies on anything so could be used in any project. -Code and API are still pretty rough. I just implemented the minimum version. A -higher level query API will follow (see the ContentRepositoryAdaptor for the -direction). - If you look at the code the sqlite storage of properties looks pretty strange but with SQlite3 the actual storage type is determined per row, so a column can contain different data types in each row. That should make all those empty rows more or less acceptable. We are trying to mimic a document database here after all. -Using MySQL ------------ +## Using MySQL + To use MySQL, switch the implementation for the interfaces in your `Objects.yaml` and configure the DB connection as needed: