Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kind: not working with this plugin #52

Open
Zman67 opened this issue Jan 16, 2022 · 1 comment
Open

kind: not working with this plugin #52

Zman67 opened this issue Jan 16, 2022 · 1 comment

Comments

@Zman67
Copy link

Zman67 commented Jan 16, 2022

After indexing epubs (I literally have tens of thousands) the searches work in Spotlight.
I'm a datascientist so if I type the word "heteroscedasticity", epubs appear. But just like with PDF's I'd like te be able to select te "kind" of document. So if I type: "kind:pdf heteroscedasticity" Spotlight only shows the PDF's with that word.

However when I type: "kind:epub heteroscedasticity" it doesn't find any epubs with that word.

@chrisridd
Copy link
Contributor

It looks like we index pubs with a kind like this:

kMDItemKind                            = "Electronic Publication (EPUB)"

Does using that magic string help at all?

Hint:

  1. open Terminal.app
  2. enter mdls (with that trailing space)
  3. drag an epub file into that window
  4. hit return.

You should see all the indexed fields for that file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants