Jump to content
jackbrannen

Fuzzy matching doesn’t work (?) as expected

Recommended Posts

Dumping the index metadata says that "di" is set as the comment, but the index search isn't responding to "di" as a query on the comment.

 

All appearances point to a discrepancy between what the OS X/macOS metadata index says and what it does.

Share this post


Link to post

 

Quote

If there are certain folders which you call often which you want to open with abbreviations, it might just be best to create a workflow with a keyword connected to an open file, with the keyword fixed to e.g. di and the open file as "Design Inspiration". This way, the results will always match regardless of whether the Mac's metadata is broken or not.

 

Is this something I can activate from within the Alfred search only, or does it have to be tied to a universal hotkey? (I don't want a universal hotkey.) Otherwise, that would be great.

 

Thanks

Edited by jackbrannen

Share this post


Link to post

@jackbrannen Yes, create a workflow with the following:

 

Screen Shot 2016-10-11 at 10.22.46.png

 

Then, set your keyword as follows, making sure you set it to "no argument" as there's no argument required in this case.

 

Screen Shot 2016-10-11 at 10.21.59.png

 

In the Open File, drag in the folder or file you need to launch.

 

You can then launch using the keyword "di" - though do note that it's a keyword that matches a huge number of results, so it may take selecting it once from further down the list before it gets prioritised above the default OS X results. :)

 

Screen Shot 2016-10-11 at 10.34.24.png

 

Of course, within that workflow, you could repeat that for any other files you need to launch by keyword, so no need to create separate workflows for each one. :) 

 

Cheers,
Vero

Share this post


Link to post

Hi again guys,

 

I'm having another, related problem. When I type in the exact keywords for some of my web searches, the web searches will be WAY down in the results sometimes (like #20 or below) beneath apps and things I never use.

Share this post


Link to post

@jackbrannen What result types do you include in your default results? We recommend only including the essentials to avoid cluttering up your results. For example, here's what I include in my default results.

 

Screen Shot 2017-01-06 at 10.51.41.png

 

Alfred learns from your usage, so if you use your web search once or twice, you should see it come up above the other results right away. If you don't see this behaviour, it's likely that there are permissions issues on your Mac, resulting in Alfred being unable to save the knowledge gained from your usage.

 

Cheers,

Vero

Share this post


Link to post

@jackbrannen it's also worth remembering that you don't need to select the web search to use it, for example, if you want to use the google web search with keyword 'google', just keep typing even if you don't see it e.g.

 

google bananas

 

You'll soon see it at the top of the list, and as Vero says, Alfred will soon re-learn :)

 

Cheers,

Andrew

Share this post


Link to post

@Vero Thanks. Two things. First, I have only selected what I need. Second, it shouldn't matter. Alfred shouldn't randomly escalate low-score results to the top of the list?

 

@Andrew Thanks, this helps. Not a great UX, but I can live with it.

Share this post


Link to post

@jackbrannen Alfred doesn't randomly escalate low score items, but if these items are being reported by macOS as recently used, this information will be part of how Alfred ranks items where there's no internal knowledge for sorting.

 

Based on the previous exchanges, it's likely that there's an underlying issue on your Mac, such as permissions corruption and/or indexing issues deeper in macOS, resulting in Alfred being unable to correctly save knowledge over a period of time. It's not an issue that has been reported by other users, and it may be resolved naturally the next time you reinstall your Mac from fresh.

 

Cheers,
Vero

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...