{"repo":"Flowpack/Flowpack.SearchPlugin","free":true,"listed":false,"github":"https://github.com/Flowpack/Flowpack.SearchPlugin","clone":"git clone https://github.com/Flowpack/Flowpack.SearchPlugin.git","description":"A simple search plugin for Neos","language":"PHP","stars":24,"topics":["elasticsearch","neoscms","hacktoberfest"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Flowpack.SearchPlugin This plugin is a Search Plugin, to be used together with Flowpack.ElasticSearch.ContentRepositoryAdaptor or Flowpack.SimpleSearch.ContentRepositoryAdaptor. Installation Install via composer with your favorite adaptor: ElasticSearch composer require flowpack/searchplugin flowpack/elasticsearch-contentrepositoryadaptor SimpleSearch composer require flowpack/searchplugin flowpack/simplesearch-contentrepositoryadaptor Inclusion of the routes from this package into your main Configuration/Routes.yaml is no longer needed as of Flow 4.0. Configuration Custom index name It is usually a good idea to specify a custom index name for a project, instead of the default typo3cr . That way no conflicts can arise when multiple projects use the same Elasticsearch server. To specify a custom index name, the following is needed: Neos: ContentRepository: Search: elasticSearch: indexName: acmecom Pagination The pagination search results can be configured via Fusion. The following shows the defaults: prototype(Flowpack.SearchPlugin:Search).configuration { itemsPerPage = 25 insertAbove = false insertBelow = true maximumNumberOfLinks = 10 } Custom result rendering The result list is rendered using a Fusion object of type nodeType + 'SearchResult' for each hit. Thus you can easily adjust the rendering per type like this for an imaginary Acme.AcmeCom:Product nodetype: prototype(Acme.AcmeCom:ProductSearchResult) < prototype(Neos.Neos:DocumentSearchResult) { templatePath = 'resource","default_branch":null,"files":null,"tree":[],"storefront":"/r/Flowpack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Flowpack/Flowpack.SearchPlugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}