Page MenuHomePhabricator

Create search predicates for searching specific image metadata items
Closed, ResolvedPublic


We need to create code for searching specific image metadata properties, e.g. filesize:<200kb or filemime:image/png.

Proposed predicates:

infile:{text}infile:"hyperbolical paraboloid"search only inside file text
filesize:[<>]{size}filesize:<200checks if file size is more/less than specified. Omitting size is the same as >. Size is in kilobytes.
filetype:{TYPE}filetype:imagefile media type
filemime:{MIME}filemime:application/pdffile MIME type
filebits:[<>]{bits}filebits:16bit depth of the data. Omitting <> is exact match.
fileres:[<>]{size}w,{size}h,{size}rfileres:>600w,800h,500rfile measurements. 'w' is width, 'h' is height, 'r' is resolution which is sqrt(w*h). Omitting <> is exact match.

Event Timeline

Restricted Application edited projects, added Discovery-Search; removed Discovery-Search (Current work). · View Herald TranscriptSep 13 2016, 7:00 PM
Smalyshev updated the task description. (Show Details)Sep 15 2016, 9:06 PM
Smalyshev added subscribers: EBernhardson, dcausse.
Smalyshev updated the task description. (Show Details)Sep 15 2016, 10:16 PM

Change 311061 had a related patch set uploaded (by Smalyshev):
[WIP] File search features

Change 311061 merged by jenkins-bot:
File search features for CirrusSearch