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

Search engine improvements #1877

Open
laurent22 opened this issue Sep 18, 2019 · 7 comments
Open

Search engine improvements #1877

laurent22 opened this issue Sep 18, 2019 · 7 comments
Labels

Comments

@laurent22
Copy link
Owner

@laurent22 laurent22 commented Sep 18, 2019

This issue is to list the features that need to be improved on the search engine.

  • Remove the need for wildcard queries - for example instead of typing "search*", it will be possible to simply type "search" and results that contain "search" or "searching" will be included. Those that contain the exact match will come first.

  • Search within certain tags (eg. "tag:software search" to search within the notes tagged with "software" and that contain the word "search").

  • Improve relevance algorithm (give a weight to certain criteria, and allow adding new criteria more easily)

  • Allow fuzzy search (for example return results that contain "saerch" for the query "search")

@jjon

This comment has been minimized.

Copy link

@jjon jjon commented Sep 25, 2019

especially boolean tags yes? search: tag:linux and tag:osx

@laurent22 laurent22 removed the essential label Sep 28, 2019
@laurent22 laurent22 self-assigned this Sep 28, 2019
@laurent22

This comment has been minimized.

Copy link
Owner Author

@laurent22 laurent22 commented Sep 29, 2019

especially boolean tags yes? search: tag:linux and tag:osx

I don't think boolean queries are still a thing in search engines. Rather, results are sorted by relevance - those that contain both terms come first. Those that contain only some of them come next, or are not included in the results at all.

@foxmask

This comment has been minimized.

Copy link
Collaborator

@foxmask foxmask commented Sep 29, 2019

i created #293 about that ;)

@indirection

This comment has been minimized.

Copy link

@indirection indirection commented Oct 13, 2019

"Search in all notes" ideally would move to the next matching occurrence of the search string as the key "return" or "Enter" is pressed and released; placing the next found highlighted sting in the middle of the displayed text.

@ergcode

This comment has been minimized.

Copy link

@ergcode ergcode commented Dec 26, 2019

I think it would be better to do a search as follows:

  • We need modifiers (interface buttons) "strict match" and "search by case". Remember the modifier state on a new search or restart.
  • By default, need to set the search to "searchString*", that is, search by part of the word. But without specifying "*".
  • Search for tags with the substitution "#tag". Add the ability to use the combination "#tag searchString". However, search modifiers should not affect the tag.
  • Maybe should do a search everywhere. By string and tags simultaneously, without specifying the type "tag searchString". But then a more sophisticated search engine will already be needed, since relevance will be needed.

P.S. Thanks for the app! It is most suitable for programming tasks and storing snippets.

@laurent22 laurent22 removed their assignment Jan 8, 2020
@JekRock

This comment has been minimized.

Copy link

@JekRock JekRock commented Mar 27, 2020

Searching notes by tags and tags combination is really cool feature to have

@0xMH

This comment has been minimized.

Copy link

@0xMH 0xMH commented Mar 30, 2020

Is it possible to search within a note list? In my case, I've this huge notebook with dozens of notes and It'd be awesome to search within the notebook itself for the note's subject. Maybe adding a small search bar on top of a note list. If this isn't related to this issue, Maybe I should open a new one?
image

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

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.