On Jan 13, 2013, at 1:17 PM, Tony <[email protected]> wrote:
> Just tried using the "Get Spotlight Results" action and its taking an
> extremely long time for the results to show up (~30secs). All the other
> spotlight actions that launch in the finder seem to be instantaneous. Is this
> behavior normal and is there any way to improve the performance?
If you do a specific search, like `kMDItemKind == 'Application'`, it runs
pretty quickly. When you just search for one or more words, it pieces together
a query to (hopefully) do what Finder does, which is search file name,
contents, and Spotlight comments. A search for “animal chin” will become
kMDItemFSName LIKE[cd] 'animal chin*' || kMDItemFinderComment LIKE[cd]
'*animal chin*' || kMDItemTextContent LIKE[cd] 'animal chin*'
Whether or not it’s using the right criteria is just a guess, and in any case,
it appears to be very slow. I’m open to suggestions if anyone knows a faster
way.
Quicksilver will also wait until all results are found before showing any, but
you can see in Finder that even *that* shouldn’t take very long.
So currently, the only way to speed things up is to be more specific. The
syntax can be found
athttps://developer.apple.com/library/mac/#documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html#//apple_ref/doc/uid/TP40001849-CJBEJBHH
> Also is there a reverse action for this action similar to the Google search
> action where i can have Spotlight in the first pane > Search For > Search
> Term?
Not at the moment.
--
Rob McBroom
<http://www.skurfer.com/>
--
You received this message because you are subscribed to the Google Groups
"Quicksilver" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver?hl=en.