From 8bb6711f5f115c9849131486bedb3ba16d9f4138 Mon Sep 17 00:00:00 2001 From: Daniel Heath Date: Tue, 22 Mar 2016 07:58:00 +1100 Subject: [PATCH] Document substring matching for attribute search Change-Id: I650c94d24fc8c351ac25bb6503c2a884e03f8306 --- doc/search-ui.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/search-ui.txt b/doc/search-ui.txt index 2233fb4b6..a1303ee89 100644 --- a/doc/search-ui.txt +++ b/doc/search-ui.txt @@ -27,7 +27,8 @@ Usable operators: after: date format is RFC3339, but can be shortened as required. before: i.e. 2011-01-01 is Jan 1 of year 2011 and "2011" means the same. attr: match on attribute. Use attr:foo:bar to match nodes having their foo - attribute set to bar. + attribute set to bar, or attr:foo:~bar to match nodes whose foo + attribute contains bar (case insensitive substring match). format: file's format (or MIME-type) such as jpg, pdf, tiff. has:location image has a location (GPSLatitude and GPSLongitude can be retrieved from the image's EXIF tags).