elastic / app-search-reference-ui-react

A generic UI for use with any App Search Engine
https://www.elastic.co/products/app-search
Apache License 2.0
66 stars 24 forks source link

[Feature Request] Typeahead #26

Closed peterskim12 closed 5 years ago

peterskim12 commented 5 years ago

It'd be great if the reference UI had typeahead. Maybe a config parameter with a list of fields queried for typeahead?

JasonStoltz commented 5 years ago

Great idea. Something we'll definitely plan to add.

JasonStoltz commented 5 years ago

This has now be added.

There is a configuration in engine.json that lets you specify which fields to suggest on, querySuggestFields.

If accessing from the App Search Dashboard, it will automatically be configured to use all Text fields.