change type: to select:
Created by: Joelkw
Both type:
and select:
are functionally correct in this specific example but in effort to train our users overall to be better at using insights, generally they want to use select:
because:
-
type:file
searches file types and only returns the count of matches as # of files if there is no other search string, just search filters. This means that if I want the count of files containing a component, I can't usetype:file
– it will just search files and return "normal" total counts. -
select:file
runs my search and then counts the file matches. This is usually what people want when thinking about "selecting the count of files".
Test plan
I have tested these queries and they return the same results, see:
and
Otherwise, this is a copy change.