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

AND searches by default? #31

Open
hoelzro opened this issue Nov 7, 2018 · 2 comments
Open

AND searches by default? #31

hoelzro opened this issue Nov 7, 2018 · 2 comments

Comments

@hoelzro
Copy link
Owner

hoelzro commented Nov 7, 2018

See #3

TiddlyWiki's own search uses "AND" style logic by default - we should probably do the same!

@diego898
Copy link
Contributor

if AND is the default, how would we specify OR? How does Google handle and/or?

@hoelzro
Copy link
Owner Author

hoelzro commented Nov 26, 2018

As far as I know, Google does OR by default, but weights results that contain more of the search terms higher. The FTS plugin does this too, but I think that this behavior can be a little confusing, since TiddlyWiki's default search uses AND.

If I decided to add this, I would probably just change the query language to accept "A OR B" and "A AND B", and remove the "+A +B" syntax.

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