<p>See this tutorial by Algolia for autocomplete search: <a href="https://www.algolia.com/doc/guides/search/auto-complete/" rel="nofollow noreferrer">https://www.algolia.com/doc/guides/search/auto-complete/</a></p>

<p>You would use Search Plus only to keep your index in sync with your sections</p>

CC BY-SA 3.0
2017-02-06T14:35:58.447Z
2017-02-06T14:35:58.447Z
Andreas
<p>How can you change from instant search and faceting to a search bar with auto-completion? <a href="https://squarebit.co.uk/software/craft/searchplus" rel="nofollow noreferrer">SearchPlus</a> comes with an excellent sample template but this is set to instant search, which means all entries in the index are displayed. I want to have a search-bar only and when typing the search query the relevant entries start to appear (auto-completion).</p>

<p>Also, if there is no excerpt field available in the indexed entries, would it be possible to create one, with Twig split?</p>

<pre><code>{% set paragraphs = entry.body|split('&lt;/p&gt;') %}
{% set firstParagraph = paragraphs|first ~ '&lt;/p&gt;' %}

{{ firstParagraph|raw }}
</code></pre>

<search><javascript><plugin-searchplus>
SearchPlus plugin configuration
# SearchPlus plugin configuration

(Asked by: username_0 on 2017-01-08)

How can you change from instant search and faceting to a search bar with auto-completion? SearchPlus comes with an excellent sample template but this is set to instant search, which means all entries in the index are displayed. I want to have a search-bar only and when typing the search query the relevant entries start to appear (auto-completion).
Also, if there is no excerpt field available in the indexed entries, would it be possible to create one, with Twig split?
{% set paragraphs = entry.body|split('') %}
{% set firstParagraph = paragraphs|first ~ '' %}

{{ firstParagraph|raw }}

**Tags:** search, javascript, plugin-searchplus


---

## 1 answers

### Answer by username_1 on 2017-02-06. Score: 2

See this tutorial by Algolia for autocomplete search: <https://www.algolia.com/doc/guides/search/auto-complete/>

You would use Search Plus only to keep your index in sync with your sections


---

