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] - Include/Exclude based on frontmater matching #223

Closed
rapatel0 opened this issue Dec 21, 2023 · 3 comments
Closed

[Feature Request] - Include/Exclude based on frontmater matching #223

rapatel0 opened this issue Dec 21, 2023 · 3 comments

Comments

@rapatel0
Copy link

rapatel0 commented Dec 21, 2023

As a user, I'd like to be able to index / slice or search based on values contained within frontmatter when creating a custom search. Ideally using more than one key to slice

Example of files being searched for in a custom search

FIle 1 - cheese project

doc-type: task
task-type: project

FIle 2 - ease project

doc-type: task
task-type: project

FIle 3 - swiss cheese

doc-type: task
task-type: oneoff

Ideally I can create a custom search that only operates on doc-type == task and task-type== project. Then a search for ease would rank

  • FIle 2 - ease project
  • FIle 1 - cheese project

(File 3 wouldn't appear in results)

Proposed methods

  • Add additional ranking criteria
  • Allow for passing a dataviewjs pages array with a custom query
@tadashi-aikawa
Copy link
Owner

Sorry for my late answer, @rapatel0.

I agree with your opinion. Might this issue also be relevant?
#205

@rapatel0
Copy link
Author

Great yeah. Sorry, i didn't see that issue. I'll close this issue

@rapatel0
Copy link
Author

Duplicate of #205

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

No branches or pull requests

2 participants