🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 27, 2026

How to Index Gravity Forms Entries in Algolia, Meilisearch, Typesense or Elasticsearch

GravityExtra
How to Index Gravity Forms Entries in Algolia, Meilisearch, Typesense or Elasticsearch

Form entries are some of the most useful data on a WordPress site — bookings, applications, support requests, product registrations — yet they usually sit in a table that only an administrator can page through. If you want visitors or staff to search that data with instant, typo-tolerant, faceted results, you need it in a real search engine. The Gravity Forms Search Index Premium Add-on does exactly that: it pushes each Gravity Forms entry as a document to your own Algolia, Meilisearch, Typesense or Elasticsearch, the moment the form is submitted, and keeps that document in step as the entry changes.

This post explains why you would index form entries, how the add-on works, and how to set it up in a few minutes without writing any code.

Why index form entries in a search engine?

A database table is fine for the occasional lookup, but it is a poor search experience. It cannot handle a typo, it does not rank by relevance, and it cannot power a fast front-end search box with filters. A dedicated search engine can: Algolia and its self-hosted cousins Meilisearch, Typesense and Elasticsearch return results in milliseconds, tolerate spelling mistakes, and let you filter by facets such as plan, status or location.

Once your entries live in one of these engines, you can build a directory of submissions, a staff-facing lookup tool, an autocomplete box, or an analytics dashboard — all reading from an index that updates itself every time a form is submitted. You keep full ownership: the data goes straight from your site to your own account or server, with your own API key. Nothing passes through a third party.

One document per entry, kept in step

The central idea of the add-on is simple: every entry becomes one document, and that document’s id is the entry id. That one decision makes everything else reliable. Sending the same entry again is an upsert — it updates the existing document rather than creating a second one. So if the network drops halfway through and the add-on retries, you never end up with duplicates. When an entry is edited, the add-on re-indexes it; when an entry is trashed or deleted, the add-on removes the document. Your index mirrors your entries, automatically.

The Search Index settings screen in Gravity Forms: the provider, the connection details, the encrypted API key, the default index and the update and delete toggles
Pick a provider, enter its connection details and an API key — stored encrypted — and a default index.

Four providers, one switch

You choose one provider in the settings and enter its connection details. Algolia is fully hosted: you supply an application ID and an API key, and the add-on derives the write address from the ID. Meilisearch, Typesense and Elasticsearch run on your own server, so you supply a base URL — which the add-on validates and allow-lists, so your key can only ever be sent to your own host. Each provider has its own endpoint and authentication, and the add-on handles the differences for you: Algolia uses a PUT with X-Algolia headers, Meilisearch a Bearer token, Typesense an upsert with the X-TYPESENSE-API-KEY header, and Elasticsearch an ApiKey header with a lower-cased index name.

Mapping fields to attributes

A document is a set of attributes. In each feed you can map an attribute name to a form field or to a typed value with merge tags — name to the Name field, plan to a drop down, reference to a custom string. Or you can leave the map empty and let the add-on index every field automatically, along with the form id, the form title and the submission date. A field with several values is stored as a list, ready to use as a facet. The document id is always the entry id, so a stray attribute can never clash with it.

A Search Index feed: the index or collection, the fields-to-index map, the edit and trash choices, and the condition
A feed decides the index, the attributes, and what happens when the entry is edited or trashed.

What you can build once entries are indexed

Indexing is the plumbing; the value is in what you build on top. A university that collects course applications through Gravity Forms can give its admissions team an instant, typo-tolerant lookup across thousands of applicants, filtered by programme and status. A property agency can turn enquiry submissions into a searchable pipeline, faceted by budget and area. A conference can publish a public directory of accepted talks, each one a form entry, searchable by track and speaker. A support desk can surface past tickets as the agent types. None of this is practical against a raw database table, and all of it becomes straightforward once each entry is a document in a real search engine.

Because the add-on keeps the index in step automatically, these tools never drift out of date. An edited entry updates its document, a withdrawn application is removed when the entry is trashed, and a restored entry is indexed again. You build the search experience once, and it stays correct without any manual re-syncing.

Choosing a provider

All four providers are first-class in the add-on, so the choice is about your own priorities rather than compatibility. Algolia is the quickest to start with: there is nothing to host, relevance is excellent out of the box, and the free tier covers small sites. Meilisearch and Typesense are lightweight, open-source engines you can run on a modest server with very little configuration, ideal when you want to keep data on your own infrastructure without a heavy operations burden. Elasticsearch is the heavyweight: the most powerful and flexible, and the natural choice if you already run it for logs or analytics and want form data alongside. Whichever you pick, the add-on sends the same document shape, so you can switch later with little rework.

You are never locked in. The provider switch is a single setting, the field map travels with the feed, and the bulk re-index action lets you populate a brand-new index on a different engine whenever you want to migrate.

The visitor never waits

Indexing happens in the background. When a form is submitted, the visitor sees the normal confirmation immediately, and a background job sends the document to your search engine a moment later. If the engine is briefly unreachable, answers a rate limit, or returns a server error, the job retries on a widening schedule — after one minute, five minutes, thirty minutes, two hours, twelve hours — and because every retry writes to the same document id, it is always safe. A permanent problem, such as a wrong key or a malformed document, is explained in a note on the entry and not retried. Every entry carries a clear record of what happened.

Conditions, multiple feeds and bulk re-indexing

Each form can have several feeds, each with its own index or collection and its own condition. You might send premium bookings to one index and everything else to another, decided by a drop down. When you first install the add-on, or after you change a field map, the bulk action in the entry list lets you back-fill the index for existing entries — either skipping entries that are already indexed, or re-indexing them all. A daily cap protects you from a sudden spike running up your provider bill.

Notifications, merge tags and hooks

Three notification events — indexed, could not be indexed, and document removed — let you email your team or trigger a workflow on each outcome. Merge tags expose the document id, the status and the provider, so you can show them in a confirmation or notification. And for developers, a filter lets you adjust the document just before it is indexed, while actions fire after every result for your own logging.

Security you can trust

Your API key is encrypted at rest with your site’s own security salts and is never written to a note, a log, the page source, or a request address. Self-hosted base URLs are validated and allow-listed, redirects are refused, and TLS is verified. Because the add-on talks only to the host you configured, your data and your credentials stay where you put them.

This matters because form entries often contain personal information — names, email addresses, phone numbers. Sending that data to a third-party relay would mean trusting someone else with it. The add-on never does: the document goes directly from your WordPress server to the search index you own, under a key you created and can revoke at any time. If you need to keep an attribute out of the index entirely, such as an email address, a single line of code in the provided filter removes it before the document is ever sent. Uninstalling the add-on removes its stored options, including the encrypted key, while leaving your entries and the documents already in your index untouched.

Setting it up

Activate the add-on and your licence key, choose a provider and enter its connection details and key, then press Check the connection — it reads the index and writes nothing. Add a feed to a form, choose the fields to index, set a condition if you need one, and submit a test entry. Within a moment the document appears in your index, and the entry shows the document id and provider. The full walk-through, including the exact endpoints for each provider, is in the Search Index setup guide.

Bring instant search to your form data

If your form entries deserve a real search experience — fast, typo-tolerant, faceted — and you want to own the index, the Gravity Forms Search Index Premium Add-on connects Gravity Forms to Algolia, Meilisearch, Typesense or Elasticsearch in minutes, with no duplicates and no code. Index every entry, keep it in step, and build whatever search your site needs on top.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr