# Site Search Engine not supporting autocompleteSuggestions

**URL:** <https://discuss.elastic.co/t/site-search-engine-not-supporting-autocompletesuggestions/211483>\
**Category:** Elastic Search\
**Tags:** elastic-site-search\
**Created:** [December 11, 2019, 2:47pm UTC](https://discuss.elastic.co/t/site-search-engine-not-supporting-autocompletesuggestions/211483 "2019-12-11T14:47:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarrame](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sarrame](https://discuss.elastic.co/u/sarrame)\
**Post date:** [December 11, 2019, 2:47pm UTC](https://discuss.elastic.co/t/site-search-engine-not-supporting-autocompletesuggestions/211483/1 "2019-12-11T14:47:58Z")

</div>

Hi All,

I have code implemented with react Elasticsearch ui component "SearchBox" to have autocompleteSuggestions.  
With documentation seems this should work for all engine types. But I am stuck on achieving this feature, can anyone help on this !!

Config :  
export const searchEngineConfig = {  
apiConnector: searchEngineConnector,  
autocompleteQuery: {  
suggestions: {  
types: {  
documents: {  
fields: ['title']  
}  
},  
size: 4  
}  
}  
}  
};

---

<div class="post-metadata">

**Author:** ![sarrame](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sarrame](https://discuss.elastic.co/u/sarrame)\
**Post date:** [December 19, 2019, 6:11pm UTC](https://discuss.elastic.co/t/site-search-engine-not-supporting-autocompletesuggestions/211483/2 "2019-12-19T18:11:06Z")

</div>

should i try using beforeSearchCall to achieve this feature @JasonStoltz any thoughts could you help me on this ?

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [December 19, 2019, 6:25pm UTC](https://discuss.elastic.co/t/site-search-engine-not-supporting-autocompletesuggestions/211483/3 "2019-12-19T18:25:30Z")

</div>

Hey @sarrame. Not all features are supported by Site Search in Search UI. The features are listed here: [https://github.com/elastic/search-ui/tree/master/packages/search-ui-site-search-connector#search-ui-site-search-connector](https://github.com/elastic/search-ui/tree/master/packages/search-ui-site-search-connector#search-ui-site-search-connector).

While autocomplete "autocompleteSuggestions" won't work, "autocompleteResults" will. See [https://github.com/elastic/search-ui/blob/master/ADVANCED.md#properties](https://github.com/elastic/search-ui/blob/master/ADVANCED.md#properties).

There is no way to get autocompleteSuggestions to work with Site Search because query suggestions are not supported in the Site Search API.

Does that make sense?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 16, 2020, 6:25pm UTC](https://discuss.elastic.co/t/site-search-engine-not-supporting-autocompletesuggestions/211483/4 "2020-01-16T18:25:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
