manticoresoftware / manticoresearch-buddy

Manticore Buddy is a Manticore Search's sidecar which helps it with various tasks
GNU General Public License v3.0
20 stars 2 forks source link

Confusing error "is not real-time or percolate" #400

Open sanikolaev opened 4 days ago

sanikolaev commented 4 days ago

Bug Description:

When performing the following query against a plain table I got:

mysql> select * from idx where match('abcef') option fuzzy=1;
ERROR 1064 (42000): table 'idx' is not real-time or percolate

It's confusing, because:

Manticore Search Version:

Manticore 6.3.7 bedf3c9d0@24111812 dev (columnar 2.3.1 30ad2d6@24100914) (secondary 2.3.1 30ad2d6@24100914) (knn 2.3.1 30ad2d6@24100914)

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.

- [ ] Implementation completed - [ ] Tests developed - [ ] Documentation updated - [ ] Documentation reviewed - [ ] Changelog updated
sanikolaev commented 1 day ago

As discussed, instead of fixing the error let's just use show table NAME settings instead of show create table. It should enable fuzzy search for plain tables.