Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down