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

Feature request: Add Obsidian tags as searchable keywords #16

Closed
RobertBolender opened this issue Apr 15, 2022 · 5 comments
Closed

Feature request: Add Obsidian tags as searchable keywords #16

RobertBolender opened this issue Apr 15, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@RobertBolender
Copy link

The Raycast List.Item allows for a string[] of keywords that are indexed for searching, which would allow for tags to be fuzzily-searchable in the Search Note command in addition to note titles.

https://developers.raycast.com/api-reference/user-interface/list#props-5

I'm currently aware of two different approaches for Obsidian tagging: in YAML front matter or else in the body with # hashtags, which might complicate this feature.

https://help.obsidian.md/How+to/Working+with+tags

@marcjulianschwarz
Copy link
Collaborator

Hi @RobertBolender,

I am aware of the keywords property and I already did some testing with it. Tried to implement a content search. It did work but the performance wasn't great.

Maybe it will be better when only tags will be used for searching. I will give it a go.

Thank you for the suggestion.

@marcjulianschwarz marcjulianschwarz added the enhancement New feature or request label Apr 21, 2022
@marcjulianschwarz marcjulianschwarz self-assigned this Apr 21, 2022
@marcjulianschwarz
Copy link
Collaborator

Didnt forget this issue, but I need help as I am having problems with the JS heap being out of memory when reading the content for every note (which would be necessary for everything listed here), especially for search related tasks.

See issue #19 for more info and further discussion.

@marcjulianschwarz
Copy link
Collaborator

Hi @RobertBolender,

to close issue #19 I had to implement a new search which can now handle content search. This means you can search for inline tags too.
Searching for #tag will list all notes with the tag tag.
You can try out the newest version by cloning this repository and running npm install && npm run dev or wait until the update gets released in the raycast store.

@marketmann
Copy link

This would be sweet!

@marcjulianschwarz
Copy link
Collaborator

This has been implemented with the new version 1.6.0 which has just been released on the store.

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

No branches or pull requests

3 participants