Exact matching on terms containing hyphens #311
-
I'm trying to build a search field for https://rustsec.org, and one of the things that would be convenient in this context is the ability to look for various exact ids which contain hyphen (like Anyway, using stork is a pleasure and the docs are particularly good, thanks for this project! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@amousset - Thanks for the kind words! You're right that this won't work today since Stork considers hyphens as a word delimiter, and I'm not sure I'd be able to throw together a quick fix for this, but I'm in the middle of a big rewrite of the search algorithm and I'll see if I can add support for this - either a configuration option to no longer use hyphens as a word delimiter, or quoted searches to look for exact matches. -James |
Beta Was this translation helpful? Give feedback.
@amousset - Thanks for the kind words! You're right that this won't work today since Stork considers hyphens as a word delimiter, and I'm not sure I'd be able to throw together a quick fix for this, but I'm in the middle of a big rewrite of the search algorithm and I'll see if I can add support for this - either a configuration option to no longer use hyphens as a word delimiter, or quoted searches to look for exact matches.
-James