manticoresoftware / manticoresoftware/manticoresearch
a* can't be found, but a*a can
@tomatolog is already working on this.
Since Apr 19, 2024.
- Dominant language
- C++
- Stars
- 12k
- Forks
- 642
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 47
Description
```sql
mysql> drop table if exists t; create table t(f text) charset_table='a,*'; insert into t values (1,'a'),(2,'a*'),(3,'a*a');
mysq> select * from t;
+------+------+
| id | f |
+------+------+
| 1 | a |
| 2 | a* |
| 3 | a*a |
+------+------+
3 rows in set (0.00 sec)
mysql> select * from t where match('a*'); +------+------+
| id | f |
+------+------+
| 1 | a |
+------+------+
1 row in set (0.00 sec)
mysql> select * from t where match('a*a');
+------+------+
| id | f |
+------+------+
| 3 | a*a |
+------+------+
1 row in set (0.00 sec)
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.