Skip to content

layouts is not none by default for CALL AUTOCOMPLETE #610

Description

@sanikolaev

Bug Description:

It's said in the docs:

layouts:
...
Default: none

but it's not "none" by default:

mysql> drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'abcdefghi'); call autocomplete('фисвуапрш', 't');
--------------
drop table if exists t
--------------

Query OK, 0 rows affected (0.01 sec)

--------------
create table t(f text) min_infix_len='2'
--------------

Query OK, 0 rows affected (0.00 sec)

--------------
insert into t values(1, 'abcdefghi')
--------------

Query OK, 1 row affected (0.00 sec)

--------------
call autocomplete('фисвуапрш', 't')
--------------

+-----------+
| query     |
+-----------+
| abcdefghi |
+-----------+
1 row in set (0.01 sec)

We need to fix it.

Manticore Search Version:

Manticore 13.15.6 6cd1dbaa8@25102709 dev (columnar 8.1.0 e1522a2@25100213) (secondary 8.1.0 e1522a2@25100213) (knn 8.1.0 e1522a2@25100213) (embeddings 1.0.1); buddy v3.36.0+25102120-cdfb9546-dev

Operating System Version:

macos

Have you tried the latest development version?

Yes

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

Details
  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions