Created
April 30, 2020 07:09
-
-
Save sanikolaev/a8b84e6c1d6e784a746ea7c16b402db2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ docker run --name manticore -p9306:9306 -p9308:9308 --rm -d manticoresearch/manticore && \ | |
docker exec -it manticore mysql && \ | |
docker stop manticore | |
MySQL [(none)]> create table t2(f text); | |
MySQL [(none)]> insert into t2 values(0,'6406 Pz.Kpfw.VI Ausf.E Tiger I Late Production'),(0,'6800 Танк Wittmann\'sLast Tiger'); | |
MySQL [(none)]> select * from t2; | |
+---------------------+------------------------------------------------+ | |
| id | f | | |
+---------------------+------------------------------------------------+ | |
| 1657853872082780192 | 6406 Pz.Kpfw.VI Ausf.E Tiger I Late Production | | |
| 1657853872082780193 | 6800 Танк Wittmann'sLast Tiger | | |
+---------------------+------------------------------------------------+ | |
MySQL [(none)]> select * from t2 where match('Tiger'); | |
+---------------------+------------------------------------------------+ | |
| id | f | | |
+---------------------+------------------------------------------------+ | |
| 1657853872082780192 | 6406 Pz.Kpfw.VI Ausf.E Tiger I Late Production | | |
| 1657853872082780193 | 6800 Танк Wittmann'sLast Tiger | | |
+---------------------+------------------------------------------------+ | |
MySQL [(none)]> select * from t2 where match('tiger'); | |
+---------------------+------------------------------------------------+ | |
| id | f | | |
+---------------------+------------------------------------------------+ | |
| 1657853872082780192 | 6406 Pz.Kpfw.VI Ausf.E Tiger I Late Production | | |
| 1657853872082780193 | 6800 Танк Wittmann'sLast Tiger | | |
+---------------------+------------------------------------------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment