β Glean-ia-acs Β· Day 9 of 56
after: and before: Date Ranges
Precise quoted-date windows
You'll be able to
- Bound a search with after: and before: using quoted dates
- Combine after: and before: to isolate a specific window
Read first
Day 2 Lab
- Pick a topic where you know roughly when the work happened.
- Add
after:"2026-01-01"to cut everything older. - Add
before:"2026-04-01"to cap the far end of the window. - Adjust the two dates until only the period you care about remains.
- Compare this to
updated:β note when an exact window beats a relative one.
Working Example: after: and before: in Action
The after: and before: filters take quoted dates and fence results to a precise window. Verified against search_filters.
budget after:"2026-01-01" β anything from Jan 1 onward
budget before:"2026-04-01" β anything before Apr 1
budget after:"2026-01-01" before:"2026-04-01" β just Q1 2026
Quote the dates as "YYYY-MM-DD". Stack both bounds to isolate a single period.Check for understanding
How do after: and before: together isolate one quarter of results?
Check yourself
1. What does `roadmap updated:past_week` return?
updated: bounds results by recency; past_week keeps only what changed in the last seven days.
2. How do you isolate results from Q1 2026 with a precise date window?
after: and before: take quoted dates; stacking both bounds isolates one exact window.
3. What is the difference between `in:` and `collection:`?
in: scopes to an existing container like a space or folder; collection: scopes to a set you curated.
4. When is `my:history pricing` the right move?
my:history restricts results to documents you've already viewed, so re-finding is faster than a cold search.
5. After Glean Assistant gives a cited answer, what is the governed next step?
Citations are a starting point, not a verdict; open each source, confirm it backs the claim, and check the dates.
In 10 seconds
βNeed an exact window, not just recent? Use after:"2026-01-01" and before:"2026-04-01" to fence results to a precise date range. Quote the dates and stack the two to isolate a quarter.β
in: and collection: Containers