-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Corrected function handling when no language is specified. #1309
Conversation
Just make sure that the Reviewed 2 of 4 files at r1, 4 of 4 files at r2. wiki/content/query-language/index.md, line 178 at r1 (raw file):
is specified, (comma) default ... Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks broke. wiki/content/query-language/index.md, line 178 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. Comments from Reviewable |
Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks broke. query/query_test.go, line 6685 at r2 (raw file):
we use default/English tokenizer when no language is specified. worker/stringfilter.go, line 91 at r2 (raw file):
Can get rid of this else, since you are returning in the worker/task.go, line 502 at r2 (raw file):
This if condition probably needs its own function? worker/task.go, line 664 at r2 (raw file):
What happens when user gives something like Comments from Reviewable |
Review status: 2 of 6 files reviewed at latest revision, 5 unresolved discussions. query/query_test.go, line 6685 at r2 (raw file): Previously, pawanrawal (Pawan Rawal) wrote…
Done worker/stringfilter.go, line 91 at r2 (raw file): Previously, pawanrawal (Pawan Rawal) wrote…
Cyclomatic complexity reduced. worker/task.go, line 502 at r2 (raw file): Previously, pawanrawal (Pawan Rawal) wrote…
Good idea. Function introduced. worker/task.go, line 664 at r2 (raw file): Previously, pawanrawal (Pawan Rawal) wrote…
We return error, it's tested in Comments from Reviewable |
Reviewed 1 of 4 files at r1, 1 of 4 files at r2, 4 of 4 files at r3. Comments from Reviewable |
Merged to master. |
This is a fix for #1295.
This change is