Using Explorer's search bar is really slow

Created by Steve Place, Modified on Wed, Aug 7 at 5:22 PM by Steve Place

The easiest way to speed up queries from Explorer's search bar is to enable Full-Text Search (FTS). FTS  indexes all the literals in the database (does not include virtual data), which makes it faster to do text lookups. Per our Explorer docs page:

> Explorer will use full-text search when it is enabled for a database. When full-text search is not enabled, Explorer searches based on starts with, ends with, and contains patterns.

(Read more about these patterns in sections 17.4.3.6-8 of the SPARQL spec.)


You can enable FTS like so:

  1. Offline the database where you'd like to enable FTS. stardog-admin db offline -- yourDb
  2. Turn on FTS. stardog-admin metadata set -o search.enabled=true -- yourDb
  3. Online the database. stardog-admin db online -- yourDb

This should speed up queries from the search bar considerably. Keep in mind, however, that the search bar is intended for data exploration. If you know what you're looking for, Explorer's query builder is much faster.


If you've enabled FTS and your search bar queries are still very slow, open a support ticket and attach a .har file. Please also include the output of stardog-admin metadata get -o search.enabled -- yourDb showing that FTS is enabled.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article