Closed PavelShilin89 closed 1 month ago
@sanikolaev I need approval to merge
"ERROR 1064 (42000) at line 1: Something went wrong" doesn't looks like normal behaviour? Did it crash? If so, it should be investigated and fixed.
I also don't understand why here
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') OPTION fuzzy='0';"
––– output –––
ERROR 1064 (42000) at line 1: unknown option 'fuzzy'
The error says "unknown option 'fuzzy'" if this should be a known option.
@dmitrykuzmenkov @sanikolaev discuss on the call tomorrow how to improve Something went wrong
and unknown option fuzzy
errors
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') OPTION fuzzy='0';" ––– output ––– ERROR 1064 (42000) at line 1: unknown option 'fuzzy'
This is because the correct syntax is OPTION fuzzy=0
. Let's change the error, so it looks like this:
ERROR 1064 (42000) at line 1: invalid value for option 'fuzzy'
ERROR 1064 (42000) at line 1: Something went wrong
This should be investigated too.
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('', 'name', 'us' AS layouts);"
––– output –––
ERROR 1064 (42000) at line 1: Something went wrong
should return an empty result instead (similarly to call keywords/suggest
)
Fixes are done here: https://github.com/manticoresoftware/manticoresearch-buddy/pull/355
We can proceed with validation after merge
👎 CLT tests in test/clt-tests/buddy/
✅ OK: 3
❌ Failed: 1
⏳ Duration: 74s
👉 Check Action Results for commit bd24291
Failed tests:
👎 CLT tests in test/clt-tests/buddy/
✅ OK: 3
❌ Failed: 1
⏳ Duration: 72s
👉 Check Action Results for commit 474f6a7
Failed tests:
Adjusted test-fuzzy-search-negative.rec, removed commands that did not generate errors when min_infix_len was enabled.