Query language
One search syntax runs everywhere: the filter field above a folder, collection or catalog, a catalog search (Ctrl+Shift+F) and smart collections. Type it into the filter field (Ctrl+F), or build it from the Add filter menu.
Examples
rating>=3 is:picked
label:red -is:rejected
camera:"Z 9" lens~70-200 iso>3200
date:2026-05-01..2026-05-03 kw:soccer
"Jane Doe" has:gps
kind:raw shutter<1/500
caption~"final score"
weekday:sat hour>=19 lens-type:zoom
place-country:ESP date:2026-06-13T21:14
- Terms are separated by spaces. A photo must match all of them.
- A
-in front of a term turns it around:-is:rejectedmatches photos that are not rejected. - Words and quoted phrases that are not a field search the text of the photo (see Free text).
- Each term shows as a chip. Click the
xon a chip to remove it.
How terms look
A field term is a name, an operator and a value, with no spaces: iso>3200.
| Operator | Meaning |
|---|---|
: or = |
Equals (for text: matches whole words) |
~ |
Contains (text fields only) |
> >= < <= |
Compare (numbers and dates) |
Field names and choices such as red ignore case. Text matching ignores case too. Put a value that has spaces in double quotes: camera:"Z 9". A rating on its own, with no operator, is plain text.
Fields
| Field | Operators | Values | Matches |
|---|---|---|---|
rating |
: > >= < <= |
0 to 5 | Stars. A rejected photo counts as −1, so rating<1 includes rejects |
is |
: |
picked, rejected, unflagged |
The pick flag |
label |
: |
red, yellow, green, blue, purple, orange, teal, gray (or grey), 1 to 8, none |
The color label |
camera |
: ~ |
text | Make, model, serial number, or “make model” |
lens |
: ~ |
text | The lens name |
filename |
: ~ |
text | The file name |
iso |
: > >= < <= |
a whole number | ISO |
focal |
same as iso |
number, optional mm |
Focal length: focal>=200mm |
aperture |
same | number, optional f/ or f |
F-number: aperture<=2.8, aperture:f/4 |
shutter |
same | 1/2000, 0.5, 2s |
Exposure time |
date |
same, plus A..B |
2026, 2026-05, 2026-05-01, 2026-05-01T21:14, 2026-05-01T21:14:02 |
Capture date and time, as the camera recorded them |
kind |
: |
raw, or a file type such as jpeg, jpg, cr3, nef |
The file type, by extension |
has |
: |
gps, caption, keywords |
The photo has a GPS position, a caption, or at least one keyword |
eyes |
: |
closed, open |
Face analysis (see below) |
face |
: |
smiling, mouth-open, away |
Face analysis (see below) |
hour |
same as iso |
0 to 23 | The hour of the capture time, on the camera’s clock |
weekday |
: |
mon, tue, wed, thu, fri, sat, sun, or the full English name |
The weekday of the capture date |
utc |
: |
+02:00, -05:30, none |
The UTC offset recorded with the capture time. none means none was recorded |
ev |
same as iso |
a whole number, which can be negative: ev:-2 |
Exposure value at ISO 100 (see below) |
lens-type |
: |
zoom, prime, fixed, none |
The kind of lens (see below) |
orientation |
: |
landscape, portrait |
As shot, from the orientation the file records |
serial |
: ~ |
text | The camera body’s serial number |
place-country |
: |
a three-letter country code such as ESP, or the English name |
The country of the GPS position (see below). Catalogs only |
place-city |
: ~ |
text | The city nearest the GPS position (see below). Catalogs only |
kw or keyword |
: ~ |
text | Keywords |
caption |
: ~ |
text | The caption |
Text fields
: matches whole words. camera:R5 finds “Canon EOS R5” but not “EOS R50”. lens:70-200 does not match “70-200mm”. Use ~ to match any part of the text: lens~70-200 finds both.
Numbers
shutter<1/500 finds faster speeds than 1/500 s. Numbers compare closely enough that aperture:2.8 finds f/2.8 whatever the camera stored. A photo with no ISO, focal length, f-number or shutter speed never matches that field.
Dates
A partial date means the whole period:
| Query | Matches |
|---|---|
date:2026-05 |
All of May 2026 |
date>2026-05 |
After May 2026 |
date>=2026-05 |
From 1 May 2026 |
date<2026-05 |
Before May 2026 |
date:2026-05-01..2026-05-03 |
From the start of 1 May to the end of 3 May |
date:2026-05.. |
From May 2026 on |
date:..2026 |
Up to the end of 2026 |
date:2026-06-13T21:14 |
That minute |
date:2026-06-13T21:14:02 |
That second |
date>=2026-06-13T21:00 |
From that minute on |
A time goes after a full date, joined by a T, on the camera’s clock. It also works on either end of A..B.
Keywords
kw:soccer matches a keyword at any level of any path, so it finds Sports|Soccer. kw~Sports|Soc matches a part of the whole path.
Free text
A bare word or a quoted phrase matches any of these, ignoring case, as part of the text: the file name, the caption, a keyword level, the title, the headline, a creator, the credit, the city, the state or the country. It never matches across two fields. "Jane Doe" finds a photo credited to Jane Doe.
Faces
eyes: and face: use face analysis, which runs on folder tabs.
eyes:closed: a face with both eyes closed.eyes:open: faces were found and none has closed eyes.face:smiling,face:mouth-openandface:away(head turned 45 degrees or more).- They apply once every photo in the folder has been analysed. Until then the chip says “Applies once every photo in this folder is analysed.”
- Catalogs do not analyse faces, and neither do folders opened with Detect closed eyes off in Settings. There the chip says the term is ignored.
Exposure value
ev is the brightness of the scene as the exposure value at ISO 100, rounded to a whole number: log₂(N² ÷ t) − log₂(S ÷ 100), where N is the f-number, t the time in seconds and S the ISO. A photo needs all three to match.
Lens type
lens-type is worked out from the camera and the lens name:
- A phone is
fixed. - A lens name with a range, such as
24-70mm, iszoom. A name with a single length, such as50mm, isprime. - With no such name, a known fixed-lens camera, such as a Fujifilm X100, Ricoh GR, Leica Q or GoPro, is
fixed. - Anything else is
none.
Places
place-country and place-city look the photo’s GPS position up in Sift’s offline place data and take the nearest place within 30 km. A photo with no position, or with no place that near, matches neither. They don’t read the City and Country fields of a caption; free text does.
They work in catalogs and in Recap. A folder tab ignores them, and the chip says “Searches catalogs only: a folder doesn’t look up places”.
Mistakes
A term Sift cannot read is marked on its chip and ignored. The rest of the query still works, and a filter never hides photos because of a term it can’t use. The chip says why. The messages are:
- Unknown field.
- Missing value, such as
rating:. - Missing closing quote.
- The comparison doesn’t apply to the field, such as
camera>5. - Not a valid number.
- Not a valid date. Use
2026,2026-05or2026-05-01. - Not one of the field’s values, such as
label:pink. - A minus sign with nothing after it.
While you cull
A photo you just culled stays in view even if it no longer matches. Pressing X to reject under -is:rejected does not make the photo vanish mid-keystroke. With auto-advance on, the focus moves on at once and it disappears at once.
In a folder, a photo whose camera data has not been read yet shows up at once, and is judged again when the data arrives. For a RAW+JPEG pair, the filter judges the RAW.
Save a search
- In a folder tab, the filter is saved with the tab and restored when you start Sift again. Moving the tab to another folder keeps it.
- In a catalog, run Save search as smart collection… to keep a query. See Organize.
Filter menu
Add filter builds terms without typing: Rating, Pick flag, Color label, File kind, Camera, Has GPS location and Faces. They add the same chips you could type.