Enterprise Search Strategy
When to use
Reach for this before a broad or fuzzy search, when a single query string would miss the answer — the question bundles several sub-questions, spans multiple source types, or is ambiguous about who, when, or where. You produce the plan; es-search executes it.
Not for: a crisp single-source lookup where the query is obvious (go straight to es-search); merging results after the search (es-knowledge-synthesis); or deciding which connectors exist at all (es-source-management).
Method
- Restate the ask in one precise sentence. Decision: if a word is ambiguous — a name, a codename, "the doc" — list every plausible reading before proceeding.
- Resolve ambiguity. Pick the most probable reading and label it an assumption. Decision: ask the user back only when the readings would send you to entirely different sources; otherwise proceed on the assumption.
- Decompose into atomic sub-questions, each answerable from one artifact type.
- Map each sub-question to a source and give the reason: chat for decisions and discussion, email for external threads, storage for finished docs, trackers for status and ownership.
- Craft the actual query per source — keyword operators for structured sources, natural phrasing for semantic ones — and set a time window on each.
- Rank the plan by likelihood of carrying the answer, so the highest-yield search runs first and can short-circuit the rest.
Example
Ask: "Did we ever agree on the new onboarding SLA, and is it built yet?" You restate, then split into two atomics: (a) "Was an onboarding SLA decided?" → chat + email, semantic "onboarding SLA decision", last 90d; (b) "Is the SLA work shipped?" → tracker, keyword label:onboarding SLA state:done, last 30d. You rank (a) first — no decision means (b) is moot.
Pitfalls
- Firing the search before resolving a name/codename ambiguity, then returning confident results for the wrong entity.
- Bundling two artifact types into one sub-question, forcing a query that fits neither source well.
- Reusing one query string across keyword and semantic sources.
- Omitting time windows, so stale artifacts dominate the ranking.
Output format
Interpreted question: <one line> (Assumption: <reading chosen>)
Sub-questions:
1. <atomic>
2. <atomic>
Search plan:
| # | Source | Query / filters | Window | Why |
|---|--------|-----------------|--------|-----|
Priority order: <ranked sub-# list> — top pick because <one line>
Open ambiguities: <only those that change which sources to hit>
1---2name: es-search-strategy3version: 1.0.04description: Turn a fuzzy natural-language question into ranked per-source searches, resolving ambiguity before any query runs.5author: matrixx00706tags: [enterprise-search, query-planning, decomposition, ranking, ambiguity]7capabilities: []8metadata:9 source: https://skillmd.com/skills/matrixx0070/es-search-strategy10---1112# Enterprise Search Strategy1314## When to use15Reach for this before a broad or fuzzy search, when a single query string would miss the answer — the question bundles several sub-questions, spans multiple source types, or is ambiguous about who, when, or where. You produce the plan; es-search executes it.1617**Not for:** a crisp single-source lookup where the query is obvious (go straight to es-search); merging results after the search (es-knowledge-synthesis); or deciding which connectors exist at all (es-source-management).1819## Method201. **Restate the ask** in one precise sentence. *Decision:* if a word is ambiguous — a name, a codename, "the doc" — list every plausible reading before proceeding.212. **Resolve ambiguity.** Pick the most probable reading and label it an assumption. *Decision:* ask the user back only when the readings would send you to entirely different sources; otherwise proceed on the assumption.223. **Decompose** into atomic sub-questions, each answerable from one artifact type.234. **Map each sub-question to a source** and give the reason: chat for decisions and discussion, email for external threads, storage for finished docs, trackers for status and ownership.245. **Craft the actual query** per source — keyword operators for structured sources, natural phrasing for semantic ones — and set a time window on each.256. **Rank the plan** by likelihood of carrying the answer, so the highest-yield search runs first and can short-circuit the rest.2627## Example28Ask: "Did we ever agree on the new onboarding SLA, and is it built yet?" You restate, then split into two atomics: (a) "Was an onboarding SLA decided?" → chat + email, semantic "onboarding SLA decision", last 90d; (b) "Is the SLA work shipped?" → tracker, keyword `label:onboarding SLA state:done`, last 30d. You rank (a) first — no decision means (b) is moot.2930## Pitfalls31- Firing the search before resolving a name/codename ambiguity, then returning confident results for the wrong entity.32- Bundling two artifact types into one sub-question, forcing a query that fits neither source well.33- Reusing one query string across keyword and semantic sources.34- Omitting time windows, so stale artifacts dominate the ranking.3536## Output format37```38Interpreted question: <one line> (Assumption: <reading chosen>)3940Sub-questions:411. <atomic>422. <atomic>4344Search plan:45| # | Source | Query / filters | Window | Why |46|---|--------|-----------------|--------|-----|4748Priority order: <ranked sub-# list> — top pick because <one line>49Open ambiguities: <only those that change which sources to hit>50```