Jump to content

File search for Japanese words not working properly


kii

Recommended Posts

I have a folder named "レッスン01", which means "lesson 01" in Japanese.

When I search for files with query "レ", I get the correct result.

But "レッ" returns no result.  If the query is "レッスン", it works again.

 

All "レ", "レッ", and "レッスン" queries work well in mac's native Spotlight.

Terminal command `mdfind` also works well with all of these queries.

 

I observed similar issues with queries including Japanese characters; they work in Spotlight and mdfind but not in Alfred's search.

 

Please fix this issue!  I guess you don't even have to handle languages like Japanese directly because adding an option to use `mdfind` result instead of Alfred's algorithm would be perfect!

 

Edit 2023-09-12(JST): I'm using File Search, and "f" is my keyword for "Revealing Files" feature.  I'm using no workflows.

 

image.thumb.png.60db67a1cacdb342e94cfab3c374a8b0.png

 

image.thumb.png.d3a0ee2b022c72ae34b23c49f134a169.png

  

image.thumb.png.50af9cb9cc7a0d47ef549707594b91ec.png

image.thumb.png.051590be95060d0dafa179b310f08de6.png

Edited by kii
Link to comment
Share on other sites

@kii Welcome to the forum!

 

You have much more control over file search when using a File Filter, which you can connect to an Open File object. The fields configuration below will allow you to find the results you need:

  • Remove kMDItemFinderComment
  • Uncheck "Words"
  • Uncheck "Anchor search" at the bottom

image.png

 

Let me know how you get on :)

 

 

Link to comment
Share on other sites

Thank you for comments!

 

For clarification:

- I'm using default "File Search" feature.  "f" is my keyword to trigger "Revealing Files" feature.

- I'm using no workflows.

 

@Vero

Thank you for your suggestion!

I tried the File Filter workflow with the setting you suggested, but the search result was the same as I get with the default "File Search" feature.

Link to comment
Share on other sites

@kii Could you please download this workflow and see what behaviour you get?

 

https://www.dropbox.com/scl/fi/wh6v65roonuzx9a14jdex/File-Filtering-for-Japanese.alfredworkflow?rlkey=19j4zvcleon7gpy3x2ii7b8zb&dl=0

 

I've created a folder named exactly the same as yours, and don't seem to have any issue finding the folder, so let me know if that workflow works for you too. :)

image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...