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

Can cross-block search be supported? #153

Open
cordinGH opened this issue Nov 3, 2024 · 1 comment
Open

Can cross-block search be supported? #153

cordinGH opened this issue Nov 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cordinGH
Copy link

cordinGH commented Nov 3, 2024

What is cross-block search?

  • Take the keywords "foo" and "bar" as an example. Using cross-block search, if you enter foo bar, it will search according to the following logic:
    • foo OR bar
    • foo and bar are on the same page

Why do I need the "cross-block search" feature?

  • There are many pages that have foo or bar in them, but I only need to find the pages that mention both foo and bar.
  • If you simply use foo OR bar, the number of search(or query) results will be very large
    • For example, foo is mentioned in a block, but bar is not mentioned in the page where the block is located, then this block is not what I need to find.
@cordinGH cordinGH changed the title Can cross-block searches be supported? Can cross-block search be supported? Nov 3, 2024
@logseq-cldwalker logseq-cldwalker added the enhancement New feature or request label Nov 4, 2024
@cordinGH
Copy link
Author

cordinGH commented Nov 11, 2024

Hello @logseq-cldwalker ,I thought of a potentially useful implementation logic, could you review it when you have time? Any feedback would be greatly appreciated!
image

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

2 participants