Skip to main content

Search Index

The Search index tab makes a data source searchable. Once you turn it on, DataDios reads the source, builds an index, and the top search box finds its tables and columns. Anyone the source is shared with can find them too.

You turn this on per data source, and only the owner of a source can change it. Nothing is indexed until you ask.

Turn it on​

  1. Go to Data Sources and find the source.
  2. Open Edit connection on that source.
  3. Select the Search index tab. It only appears when you edit an existing source of a type that supports indexing.
  4. Switch on Enable search index.
  5. Fill in the settings the tab shows, then click Save.

DataDios queues the first build as soon as you save. You can close the dialog while it runs.

To stop indexing the source, switch the toggle off and click Save.

What the tab shows​

The settings on this tab come from the server, so the list can differ between DataDios versions and between data source types. Expect to see:

  • which objects to index,
  • whether to index only the shape of the objects (metadata) or also their contents,
  • build settings: Use global build settings, and, when it is off, Batch size, Max chunks per source, Chunk size, Chunk overlap and Max rows per object. They are explained under Search index build settings.

If a setting needs a warning, the server prints it under that setting. In particular, when you choose to index contents, the tab tells you that row text goes to your AI vendor. Read that note before you switch it on.

Build status​

Under Builds, the tab lists one line for each embedding model and store the source is built for. Each line shows:

  • the model and store,
  • the status and a progress bar while a build runs,
  • a reason when a build stopped early or failed, in the words the server sent. For example, limit_reached means the source hit its chunk limit and is searchable over what was indexed, and row_limit_reached means a table hit its row limit.

The line marked (serving) is the one search uses right now. When you change the embedding model, the old line keeps answering until the new one is complete.

The tab refreshes by itself while a build is running.

A failed build shows a code and a short sentence. The most common codes:

CodeMeaning
ai_source_unavailableThe AI source could not be reached, or the bound embedding source could not be read. The next build tries again.
ai_source_refusedThe owner of this data source may not use the embedding source bound for them: it is not shared with them, it was deleted, or the admin who bound it is no longer active. Ask an admin to share it with the owner or bind another one. Starting the build again does not help.
ai_source_failedThe AI source answered with an error, or returned the wrong number of vectors.
model_missingThe AI source has no embedding model set.
source_unavailableThe data source could not be reached.
source_missingThe data source no longer exists.
source_unreadableNone of the objects could be read.
no_objectsThe data source listed no objects.
model_changedThe embedding model was changed or unbound after the build was queued. Start the build again.
model_too_largeThe model has more than 4,000 dimensions.
model_dimensions_unknownThe size of the embedding model could not be read.
embedding_timeoutThe AI source did not answer in time.
embedding_busyToo many calls to AI sources were still waiting for an answer. Start the build again later.
index_incompleteSome vectors were not saved because their chunks changed while the build ran.
index_invalidThe vector index did not become valid.
busy_too_longAnother build held the index for a full day. Start the build again.

A build that finds the index busy is not a failure. It waits and tries again by itself.

Build now starts a build right away, without waiting for the schedule. Only the owner sees it, and it is off while you have unsaved changes.

Press Ctrl+K (Cmd+K on Mac), type at least three characters and press Enter.

  • With no embedding model set up, search matches by keyword. This works with no AI source at all.
  • With one, search is hybrid: it matches keywords and meaning together.

Each result shows the object and the data source it belongs to. A table or view result also lists its first columns when the index holds them, for example Columns: CUSTOMER_ID, BRANCH_CODE, OPEN_DATE…. A table, view or CSV result opens the object itself, with the same Data Preview, Metadata and Lineage shortcuts as before. Any other result opens its data source.

If a source could not answer, the box lists it under the results with the reason and the message the server sent, for example a source whose AI source did not respond. The other sources' results still show. Each source is listed by its name, as the server sent it with the answer.

If something goes wrong​

  • The Search index tab is missing. You are creating a source rather than editing one, or its type does not support indexing. Save the source first, then edit it.
  • The tab shows a message instead of settings. The server refused the read, for instance because you cannot see the source. The message is the server's own; use Retry after it is fixed.
  • The toggle is greyed out and there is no Save or Build now. You are not the owner. The tab says "Only the owner of this data source can change its search index." Ask the owner to change it.
  • A build shows a reason and no progress. Read the reason. If it is a limit, the source is still searchable over what was indexed; index fewer objects, or raise the limit. The limits are on Manage → Integrations → AI · embeddings, or on the source's own tab with Use global build settings turned off.
  • A table does not show in search. Check that the build is ready and the object is in the objects you chose.