Skip to main content

Auto suggest

Divi 5 only

Auto suggest is configured on Filter Posts → Filter items → Text Search in the Divi 5 Visual Builder. Phrase indexing is managed under Divi Engine → Divi Ajax Filter → Auto suggest.

Purpose

Auto suggest shows lightweight keyword suggestions while visitors type—such as product categories, tags, blog categories, and phrases you add yourself. It is built for quick matches without loading full post titles, images, or prices.

For rich post or product results in a dropdown, use Live search (requires Divi Machine).

Auto suggest showing category and attribute phrase suggestions while typing in a Text Search field

How it works

  1. You enable the search phrase index in plugin settings and rebuild it.
  2. On a Text Search filter item, you turn on Auto suggest.
  3. As visitors type, suggestions appear from the phrase index (up to five phrases by default).

Auto suggest does not list individual products or posts. That is what Live search is for.

Set up the phrase index

  1. Go to Divi Engine → Divi Ajax Filter → Auto suggest.
  2. Turn on Enable search phrase indexing.
  3. Choose what to include:
    • Include WooCommerce product categories (on by default)
    • Include WooCommerce product tags
    • Include blog categories
  4. Optional: add Popular search phrases (one per line) for curated terms.
  5. Save settings.
  6. Click Rebuild search phrase index now and wait until it finishes.
Rebuild after changes

The phrase index does not update automatically when you rename categories or edit curated phrases. After changing includes or the phrase list, save, then rebuild.

After updating from an older autosuggest version that indexed post titles, rebuild once—old title rows are not migrated.

Enable Auto suggest on a search field

  1. Edit your page in the Visual Builder.
  2. Open Filter Posts → Filter items and select (or add) a Text Search item.
  3. In Search settings, turn on Auto suggest.
  4. Adjust optional controls:
SettingWhat it does
Typing delay (ms)Wait time after typing before suggestions run
Minimum charactersStart suggestions after this many characters
Suggestions limitMaximum suggestions per request (1–15 in the builder; the server caps phrase suggestions at five)
Suggestion click actionFill search only, Fill and filter, or Go to result
Empty suggestions messageShown when nothing matches

With Auto suggest only (no Live search), the default click action fills the field and filters the connected archive.

These work with or without Auto suggest:

SettingWhat it does
Browser AutocompleteAllow the browser’s own previous-search suggestions (on by default). Turn off if unwanted history appears.
Update archive while typing (Ajax Filter)Refresh the connected Archive Loop / loop while typing. Independent of suggestions.
Suggestions only

When only suggestions are enabled (not Live search), the archive no longer refreshes on every keystroke unless Update archive while typing is also on.

Auto suggest vs Live search vs Catalog index

FeatureWhat visitors seeNeeds
Auto suggestFast phrase suggestionsPhrase index enabled + rebuilt
Live searchRich posts/products (title, image, price, pagination)Divi Machine
Catalog indexFaster filter matching in the loop (not a dropdown)Catalog engine in Ajax Filter settings

You can combine Auto suggest and Live search on the same field when Machine is active—the dropdown can show Suggestions and Results together.

Ajax Filter without Machine

With Divi Ajax Filter alone you get:

  • Auto suggest (after indexing)
  • Update archive while typing
  • Browser Autocomplete

Rich Live search (post results) appears only when Divi Machine is active.

What's next