Open githubmanticore opened 1 year ago
mysql> call keywords('jersey#col*', 'autocomplete_blog_1', 1 as stats); +------+-------------+-----------------------+------+------+ | qpos | tokenized | normalized | docs | hits | +------+-------------+-----------------------+------+------+ | 1 | jersey#col* | jersey#col* | 0 | 0 | | 1 | jersey#col* | =jersey#columbuspark | 1 | 1 | | 1 | jersey#col* | =jersey#columbus | 1 | 1 | +------+-------------+-----------------------+------+------+ 3 rows in set (0.00 sec)
works fine, but w/o "1 as stats" it's impossible to see the forms:
mysql> call keywords('jersey#col*', 'autocomplete_blog_1', 0 as fold_wildcards); +------+-------------+-------------+ | qpos | tokenized | normalized | +------+-------------+-------------+ | 1 | jersey#col* | jersey#col* | +------+-------------+-------------+ 1 row in set (0.00 sec) mysql> call keywords('jersey#col*', 'autocomplete_blog_1'); +------+-------------+-------------+ | qpos | tokenized | normalized | +------+-------------+-------------+ | 1 | jersey#col* | jersey#col* | +------+-------------+-------------+ 1 row in set (0.00 sec)
The task is to either fix it or update the doc and explain why the current behavior makes sense.
works fine, but w/o "1 as stats" it's impossible to see the forms:
The task is to either fix it or update the doc and explain why the current behavior makes sense.