How to Improve Search Quality Over Your Own Documents

November 24, 2026

Danswer is an open-source AI assistant that connects to your company’s tools — Slack, Google Drive, Confluence, Notion, Jira, GitHub and about 40 others — and answers questions with citations back to the source document. You self-host it with Docker or run their cloud, and users ask in Slack or a web UI.

The earlier article walked through connecting sources. This one is about the part that decides success: indexing quality, permission handling and measuring whether it actually saves anyone time.

How do you pick which connectors to index first?

Start with the two places where answers already live and people already search: documentation and chat history. For most teams that is a wiki (Notion, Confluence) plus Slack.

Do not index everything in week one. Each connector adds sync jobs, embedding costs and noise. A 500,000-page SharePoint index with no curation buries good answers under old PDFs.

Rough sizing for a Docker deployment: 4 vCPU and 16 GB RAM handles a few hundred thousand documents comfortably. Vector search scales with document count; the LLM side scales with concurrent users.

Why are the answers citing stale documents?

Because recency is not automatically weighted. Danswer retrieves by semantic similarity, and an old doc that matches the phrasing perfectly can outrank a new one that says it better.

Fix it in three places. Set sync frequency per connector — daily for wikis, hourly for Slack if your team is chatty. Exclude archive folders and deprecated spaces from the source configuration. Add a date rule in your prompt template telling the model to prefer the most recent document when two conflict.

Then audit. Pull the 20 most-asked questions from the Slack channel over the last quarter and run them as a test set. Score each answer as correct, stale, or wrong. That number is your real baseline, not the demo.

How does Danswer handle permissions?

It mirrors the permissions of the source system. A document a user cannot open in Confluence should not appear as a citation for that user in Danswer. The connector pulls ACLs during sync and the retrieval layer filters results per user.

Two caveats. Sync lag means permissions are as fresh as the last sync — after a role change, there can be a gap of up to one sync cycle. And shared drives with “anyone with the link” settings will leak, because the source system itself has already leaked them.

Test with two accounts: an admin and a rank-and-file user, asking the same question about a restricted document. That single test catches most configuration errors.

What does it cost to run?

Three costs stack: hosting, embeddings, and the LLM.

  • Self-hosted hosting is roughly $50–150/month on a mid-size VPS for a few hundred thousand documents.
  • Embeddings are a one-time cost per document plus incremental on updates — typically tens of dollars for a mid-size corpus.
  • The LLM is the dominant recurring cost. A 2026-era small model at 100–200 daily queries runs cheap; a frontier model does not.

You can point Danswer at a local model to remove the API bill entirely, at the cost of answer quality and more GPU hardware.

Who should not adopt it?

Teams under 20 people with everything in one tool. If all your knowledge lives in Notion and everyone already searches Notion well, the added layer is overhead.

Organisations without an owner for the index. Danswer decays: connectors break, old spaces creep back in, permission changes drift. Someone needs to own it monthly, or in six months nobody trusts the answers and everyone goes back to asking a colleague.

Also skip it if you cannot host anything and cannot accept a cloud vendor reading your corpus. That is a legitimate constraint, just an incompatible one.

Quick Summary

  • Danswer is an open-source RAG assistant with 40+ connectors and citation-backed answers.
  • Index docs and chat first; every extra connector adds noise and cost.
  • Semantic search does not prefer recency — weight it in the prompt and exclude archives.
  • Permissions mirror the source system but lag by one sync cycle.
  • Budget mainly for LLM calls; a local model removes the API bill but needs GPU hardware.
Tags: