Evaluate glossary grounding for document search
Maintainers usually reply within 1 day
@ningsiyuan1024 is already working on this.
Since Nov 26, 2026.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 18/100
Research direction
Start with the document search design in docs/features/knowledge.md and the entity-graph notes in docs/features/entity-graph.md, then look at the reporting fixture from #1185 to see how the hybrid-search comparison is already measured. The experiment needs a reviewed glossary of canonical terms, aliases and scope rules wired into the existing retrieval path, plus four fixture cases (alias absent from source text, ambiguous alias, changed entry, no glossary term). Done means a reported comparison against hybrid search on the same fixture and context budget: share of queries returning every required passage, wrong-source matches and p95 latency, feeding a decision on wider exposure. Roadmap context is in #1232.
Written by the indexing model from the issue text.
Description
Component
Knowledge (documents)
Use case
A team asks for the rule for an active account using an internal abbreviation. The authoritative definition uses the full term, while another team uses the same abbreviation for a different metric. Search should connect the question to the reviewed definition for its scope and cite the passage that supports the answer.
Describe the solution you'd like
Test glossary grounding as a retrieval option for one collection. Start with a reviewed glossary and a small set of canonical terms, aliases and applicability rules. Use exact matches to add retrieval candidates through the existing search path.
- Resolve terms within the authorized request and audience scope. Carry the glossary revision and supporting document locator. An ambiguous alias should return the applicable alternatives or a request for clarification.
- Keep the glossary as navigation evidence. Require a current, authorized source passage to support an answer that uses its definition.
- Check replacement, revoked access and erasure for the term, its derived retrieval hints and returned citations.
- Compare against existing hybrid document search on the same fixture and context budget. Report the share of queries returning every required passage, wrong-source matches and p95 latency. Include an alias absent from the source text, an ambiguous alias, a changed glossary entry and a query without a glossary term. Use the results to decide whether to expose the option more widely.
Describe alternatives you've considered
Hybrid search and namespace-local entity resolution already supply candidates. The experiment tests the additional value of a reviewed, revision-bound glossary link for document passages.
Where the need comes from
An AI tool suggested this feature
Additional context
Part of the knowledge-factory roadmap in #1232. The reporting fixture in #1185 provides a starting point for the test cases. Loom entity graph · Document search
- Dominant language
- Python
- Stars
- 263
- Forks
- 47
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 873
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/loom
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
ClickHouse/loom#2014 ·
Maintainers usually reply within 1 day
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help textPossibly taken @VanshajPoonia claimed this today. Openbug good first issue help wanted up-for-grabs
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/loom#1988 · 1 comment ·
Maintainers usually reply within 1 day
-
A compiler-tier checkout fetch from a shallow mirror never records its headPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
ClickHouse/loom#2016 ·
Maintainers usually reply within 1 day
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limitPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
ClickHouse/loom#2012 ·
Maintainers usually reply within 1 day
-
loom participant retire cannot retire an orphaned participant after container replacement or host rebootPossibly taken @l0K1ngg claimed this today. Openbug help wanted up-for-grabs
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ClickHouse/loom#2007 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
DMB documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ubuntu/ubuntu-project-docs#921 ·
Maintainers usually reply within 1 day
-
⏳ Pending feedback 🐛 Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jumpserver/jumpserver#18282 · 1 comment ·
Maintainers usually reply within 1 day
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
future-agi/future-agi#5274 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenericMappingTools/pygmt#5014 · 1 comment ·
Maintainers usually reply within 1 day