Skip to content

Commit

Permalink
TASK: add an example video
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed May 12, 2020
1 parent 4ff573b commit 4122ef8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Binary file added Documentation/elastic-vs-db.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

[![Latest Stable Version](https://poser.pugx.org/punktde/elastic-nodesearchservice/v/stable)](https://packagist.org/packages/punktde/elastic-nodesearchservice) [![Total Downloads](https://poser.pugx.org/punktde/elastic-nodesearchservice/downloads)](https://packagist.org/packages/punktde/elastic-nodesearchservice)

This is an implementation of the Neos NodeSearchService using the Elasticsearch index.
It is highly customizable in order to get the best search experience for the project.
This is an implementation of the Neos NodeSearchService using the Elasticsearch index of the content repository. This vastly reduces the query time for Search-As-You-Type fields in the backend if you have lots of nodes in your project. Additionally it is highly customizable in order to get the best search experience for the project.

Multiple search strategies can be defined which are then selected according to the SearchNodeType, StartingPoint and the term. With this feature you are able to sort news documents returned in a reference selector by publish date while other documents are sorted alphabetically.

Note: While the original database search does a like search in all properties of the document, the default strategy of this package only does a prefix search in the title field. Replace it with the search strategy that fit your needs.

The following example shows a reference selector for news articles with 23 000 Documents.

![Example](Documentation/elastic-vs-db.gif)

## Installation

The installation is done with composer:
Expand Down

0 comments on commit 4122ef8

Please sign in to comment.