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

Improve search #13

Open
kod-kristoff opened this issue Dec 19, 2019 · 3 comments
Open

Improve search #13

kod-kristoff opened this issue Dec 19, 2019 · 3 comments

Comments

@kod-kristoff
Copy link
Member

kod-kristoff commented Dec 19, 2019

Current semantics:

  • * matches zero or more of any symbol.
  • <whitespace> is implicitly interpreted as AND.

Proposals:

  • o finds o or ö, a finds a, å or ä.
  • Fuzzy search: Petterson finds Pettersson
  • Citated searces: "lunds stadsbibliotek"
search skbl.se UB Gotlib glob
* matches zero or more + + + +
? matches exactly one - + - +
-> implicit AND + + + -
+ -> implicit AND + + - -
~ -> implicit AND + + + -
- -> implicit AND - + + -
"" matches whole expression - + + -
ao also matches åäö - + + -
åäö also matches ao - - - -
Fuzzy search - - - -
@kod-kristoff
Copy link
Member Author

kod-kristoff commented Dec 19, 2019

UB supports

  • * matches zero or more of any symbol
  • ? matches exactly one of any symbol
  • abc def enables implicit searches for abc AND def
  • "abc def" only searches for abc def
  • petterson matches petterson (and not pettersson)
  • + is matched as AND

@kod-kristoff
Copy link
Member Author

kod-kristoff commented Dec 19, 2019

Gotlib supports

  • * matches zero or more of any symbol.
  • abc def is implicit interpreted as abc AND def
  • "abc def" limits searches to find the expression inside the "abc def".

@kod-kristoff
Copy link
Member Author

In glob:

  • * matches zero or more of any symbol.
  • ? matches exactly one of any symbol.
  • [abc] matches exactly one of any symbol of those inside the []
  • [!abc] matches exactly one of any symbol but those inside []

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

1 participant