← Glean-ia-acs Β· Day 5 of 56
Level 200 β€” Foundations30 minNIST MAP

The type: Filter

Narrowing by document type

You'll be able to

Read first

Day 5 Lab

  1. Run a broad query that mixes docs, messages, and tickets.
  2. Add type: to keep just one kind.
  3. Compare the counts before and after.
  4. Note when type: helped more than another keyword would have.

Working Example: type: in Action

The type: filter restricts results to a single document kind. Verified against search_filters.

onboarding                  β†’ 400+ results: docs, Slack messages, tickets, all mixed
type:document onboarding    β†’ just the onboarding documents
type:message onboarding     β†’ just the chat messages about onboarding

Use type: when the noise is the wrong KIND of thing, not the wrong topic.

Check for understanding

When does type: help more than adding another keyword?

Check yourself

Pick an answer β€” you'll see if it's right and why.

1. What does Glean's Enterprise Graph primarily connect?

2. When is a natural-language question better than keywords?

3. Your top result is the wrong TYPE of thing entirely. That is a...

4. What does a result's snippet tell you?

5. What does `type:document onboarding` do?

6. `app:slack quarterly roadmap` returns...

7. In one sentence, what does `from:me` do?

Pass threshold 80% Β· week 1 quiz

In 10 seconds

β€œToo many results of the wrong kind? Add type: to keep only one β€” a doc, a message, a ticket. type:document onboarding strips out the chatter and leaves the pages you actually meant.”

Next Β· Week 1 Day 6
The app: Filter