Ask for an account
In this guideSearch
den / Guide / Using den

Search

One search box over every artifact in a workspace, lexical and semantic together, with filters and a confidence flag that says when den has nothing.

1 min read · On this page: Hybrid · Confidence · Beside search · Scope and freshness

#Hybrid

Search runs two indexes and merges them: a lexical index for exact words, keys, and names, and a vector index for meaning, so "how do we handle a stale write" finds the paragraph about base_version even if those words are not in it. A reranker orders the merged hits by how well each passage answers the question.

Results show the topic, the artifact, the heading the hit sits under, a snippet, and a link to the exact version. Filters narrow to a topic, a kind, an artifact name, or changes since a date.

#Confidence

When the best hit does not answer the query, the result says so with confident: false. An agent should then say den has nothing on it rather than quote the hits; the app shows the same signal.

A question with a number in it is not a search. query runs one read-only SQL statement over every table, list and log in the workspace, and upcoming reads the dates off the documents. The search page in the app is text; the numbers come through an agent.

#Scope and freshness

Search never leaves the workspace it runs in. A committed artifact is searchable at once, and a deleted one leaves the index at once. An owner or admin can rebuild a workspace's index with den reindex, which runs as a background job.