-
OneDev
changed state to 'Closed' 3 years ago
Previous Value Current Value Open
Closed
-
OneDev
changed state to 'Released' 3 years ago
Previous Value Current Value Closed
Released
-
State changed as build #3045 is successful
-
Hi and thank you for the instant handling time, as always!
Trying to checking the fixing commit I see that you did enable case insensitive queries but not multiple terms (two words), correct?
-
Multi term query is supported for fuzzy query. For instance if you query for "onedev server", it will be converted to path pattern
**/*onedev*/**/*server*/**automatically. For explicit path criteria query('Path' is '...'), you should use wildcard chars for missing segments though. -
Ok so, thanks to your hint I’ve figured out how to perform “ordered” multi term searches using the *, I’m going to write it here for the convenience of all users:For instance, this query: https://code.onedev.io/projects?query=canno+project (
canno projectwith the space)doesn’t produce any matchbut this query: https://code.onedev.io/projects?query=canno*project (
canno*projectwith the explicit * wildcard instead of space) does the jobI say “ordered” because the wildcard workaround isn’t a full replacement for “& search operator” therefore order of search terms matters, then in our examplehttps://code.onedev.io/projects?query=project*cannodoesn’t produce the matchthe search experience isn’t the best, but now that it’s case-insensitive is more than acceptablethank you so much!
-
Thanks for the suggestion. Will make this improvement in next patch release.
-
Previous Value Current Value Released
Open
-
OneDev
changed state to 'Closed' 3 years ago
Previous Value Current Value Open
Closed
-
OneDev
changed state to 'Released' 3 years ago
Previous Value Current Value Closed
Released
-
State changed as build #3052 is successful
-
… and now we have a top-notch search :)
I can confirm everything works as expected, thank you Robin!
-
Thank you for all the suggestion. Really appreciated!
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee |
Hey there, I did notice that search on projects most of the time fails to give me optimal results. That’s because two reasons:
Letter case, i think that going case-insensitive instead of case-sensitive is the way to be here
Two (or even more) words queries, maybe I’m missing how to do it, but searching for two terms could be very useful, especially in a large codebase