Hi there,
I’m currently trying to use ElasticSearch for a new customer project. ElasticSearch is running and my neos content gets indexed.
For this I am using the following plugins:
- Flowpack.ElasticSearch
- Flowpack.ElasticSearch.ContentRepositoryAdaptor
- Flowpack.SearchPlugin
I’m able to receive search results with the default Flowpack.SearchPlugin Form functionality. I get suggestions if I use the Suggestion-Route.
My problem now is the following:
The Documentation of Flowpack.SearchPlugin mentions that a AJAX search can be used with the following GET-URL:
{f:uri.action(action: ‘index’, controller: ‘AjaxSearch’, package: ‘Flowpack.SearchPlugin’, absolute: 1)}
However the AjaxSearch Controller doesn’t contain an “index”-action, but rather an “search”-action.
The problem now for me is that if I change the action to “search”, the function requires a node. But since I do the request with an ajax-request, just the “search”–parameter gets transferred and therefor the requirement is not fulfilled.
How is this supposed to work? And how do I get results?
Thanks in advance,
Daniel