For big enterprise solutions, elastic search is quite important, I guess. But is there also an easy search solution for small/medium Sites?
I found «Search» on Github from Lelesys (https://github.com/lelesys/Lelesys.Plugin.IndexedSearch). But there are some big important notes:
###- … was done when TYPO3 Neos was at alpha3/4
###- This package does database query for search result and not indexed yet.
Questions:
Is there a package for simple search «out in the box» in Neos. If, how I can activate or find it in the demo?
Is the packages above good for the 2.1.6 version? Does anyone have experience with it?
Does I have to Index the Site? And How? Sounds all in all difficult … Is there some easy understandable doc out there?
Packages in general:
Is there a central point to find Neos-Packages and reviews? (Under https://packagist.org/ the finding is quite difficult -> for IndexedSearch Lelesys no match. Google/Github is by chance and without helping reviews)
Packagist is a good start. Updates, Downloads and Stars in the corresponding github repository gives you an idea how “good” that package might be.
We are working on something only neos-related. Stay tuned
Ingenious thing: clean, powerful and easy to grasp. Thanks so far for Neos, all work, documentation and the no less important tools to extend and specialize it …
The problem with the SimpleSearch Implementation is, that it’s based on SQLite, which locks the database while updating, so you are unable to perform searches while the index is building. Depending on your site this can take a while.
I had SimpleSearch installed but switched to Elasticsearch since then (which is not without it’s own challenges ).
Great. Thats really helpfull!
Maybe something on the Pagination is broken, but with the search, all works nice.
Although, if I click on the page 2, 3, …the Get-parameters [current page] = changes, but the packages list seems to remain the same, also the highlighted number in the pagination-overview. It looks like the get-Params are damn long.
But I don’t know enough so far about Pagination-Issues in Neos.
I’m quite sure it will be in work to change this behavoir.
Hey,
after installing Flowpack.SimpleSearch and Flowpack.SimpleSearch.ContentRepositoryAdaptor the flow command
./flow nodeindex:build
Workspace "live" without dimensions done. (Indexed 37 nodes)
Workspace "user-martin" without dimensions done. (Indexed 38 nodes)
Finished indexing.
So it seems to work. I know, that’s not really much stuff to search trough . But for beginning not to bad I think/hope.
###But
I have to lern a lot more stuff, I think. Because I can’t figure out what I should do now.
Maybe someone has good links to learn more about:
So I could install Flowpack.SimpleSearch and it works. Looks good.
I guess, Elastic Search is a really interesting tool. Currently, the less steep learning curve of simple search seduce, I think.
But steep enough for beginners like me: I have to lern at least in two regions:
##First :
Unfortunately I’m quite unskilled in database queries, especially with sqlite. I read here and there and have downloaded an sqliteBrowser.
But (shame on me) I have not even found the sqlite file. I read, sqlite packed all stuff in one file. Where can I find this? I searched on the hole harddrive. Only other matches for *.sqlite. Maybe because the file.extension could be all kind of (so I’ve read), and look trough sourcecode I can’t find the clou …
Perhaps it is an absolutely stupid question. Nevertheless, maybe someone can help me. Where is the associated mysql-file for simple search?
Second:
I found the Prototype for searchResults under «Flowpack.SimpleSearch.ContentRepositoryAdaptor/Resources/Private/TypoScript/Root.ts2»
I guess I could overwrite this for adapt the search-query for my need, because the search-Query seams to match to exact.
In Database is a node with «Wasserballon» as content.
If I search in formfield for:
Wasserballon -> MATCH
Wasser -> no-match
Wasser* -> MATCH
*asserballon -> no-match
ball -> no-match
-*ball* -> no-match
I tried to change the prototype to -> searchResults = ${Search.query(site).nodeType('TYPO3.Neos:Document').log().fulltext("%"+request.arguments.search.word).execute()+"%"}-> NO MATCH
With escaped “%”+…"%" or “*” and also “\*”-> NO MATCH
Maybe sql statements have to be different with other wildcards than MySql. Or I have misunderstood the prototype or typoscript-string-concatenation, or something else.
But search for «ball» with fulltext(“Wasser”+request.arguments.search.word+“on”) -> MATCH. So i guess, concat is working…
###I can’t find a working solution:
Did someone have good links or direkt information about
overwrite the Search Prototype to match less exact ?