-
-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed rename of the external files on alter and create table #2359
Conversation
…2268; fixed model at test 403
clt👎 CLT tests in test/clt-tests/core/test-import-table.rec––– input –––
mkdir /tmp/import-table/
––– output –––
––– input –––
echo "a > b" > /tmp/import-table/wordforms1.txt; echo "c > d" > /tmp/import-table/exc.txt; echo "abcstop" > /tmp/import-table/stop.txt
––– output –––
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test (id INT) exceptions='/tmp/import-table/exc.txt' wordforms='/tmp/import-table/wordforms1.txt' stopwords='/tmp/import-table/stop.txt'; INSERT INTO test(id) VALUES(1);"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: exceptions = /var/lib/manticore/test/exc.txt
+ Value: exceptions = /var/lib/manticore/test/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/test/stop.txt
+ stopwords = /var/lib/manticore/test/stopwords_chunk0_0.txt
- wordforms = /var/lib/manticore/test/wordforms1.txt
+ wordforms = /var/lib/manticore/test/wordforms_chunk0_0.txt
––– input –––
mysql -h0 -P9306 -e "import table test2 from '/var/lib/manticore/test/test'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test2 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test2/exceptions.txt
stopwords = /var/lib/manticore/test2/stopwords_0.txt
wordforms = /var/lib/manticore/test2/wordforms_0.txt
––– input –––
mysql -h0 -P9306 -e "import table test3 from '/var/lib/manticore/test2/test2'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test3/exceptions.txt
stopwords = /var/lib/manticore/test3/stopwords_0.txt
wordforms = /var/lib/manticore/test3/wordforms_0.txt
––– input –––
mysql -h0 -P9306 -e "CALL keywords('a 123', 'test2');"
––– output –––
+------+-----------+------------+
| qpos | tokenized | normalized |
+------+-----------+------------+
| 1 | a | b |
| 2 | 123 | 123 |
+------+-----------+------------+
––– input –––
mysql -h0 -P9306 -e "CALL keywords('a 123', 'test3');"
––– output –––
+------+-----------+------------+
| qpos | tokenized | normalized |
+------+-----------+------------+
| 1 | a | b |
| 2 | 123 | 123 |
+------+-----------+------------+
––– input –––
mysql -h0 -P9306 -e "import table test-5 from '/var/lib/manticore/test2/test2'"
––– output –––
ERROR 1064 (42000) at line 1: P03: syntax error, unexpected $undefined, expecting FROM near '-5 from '/var/lib/manticore/test2/test2''
––– input –––
mysql -h0 -P9306 -e "import table test_5 from '/var/lib/manticore/test2/test2'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "import table test4 from '/var/lib/manticore/test101/test101'"
––– output –––
ERROR 1064 (42000) at line 1: unable to import table 'test4': no table files found
––– input –––
for i in {2..100}; do prev_table="test$((i-1))"; new_table="test${i}"; import_path="/var/lib/manticore/${prev_table}/${prev_table}"; mysql -h0 -P9306 -e "import table ${new_table} from '${import_path}'"; mysql -h0 -P9306 -e "SHOW TABLE ${new_table} SETTINGS\G"; done
––– output –––
ERROR 1064 (42000) at line 1: table 'test2' already exists
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test2/exceptions.txt
stopwords = /var/lib/manticore/test2/stopwords_0.txt
wordforms = /var/lib/manticore/test2/wordforms_0.txt
ERROR 1064 (42000) at line 1: table 'test3' already exists
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test3/exceptions.txt
stopwords = /var/lib/manticore/test3/stopwords_0.txt
wordforms = /var/lib/manticore/test3/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test4/exceptions.txt
stopwords = /var/lib/manticore/test4/stopwords_0.txt
wordforms = /var/lib/manticore/test4/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test5/exceptions.txt
stopwords = /var/lib/manticore/test5/stopwords_0.txt
wordforms = /var/lib/manticore/test5/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test6/exceptions.txt
stopwords = /var/lib/manticore/test6/stopwords_0.txt
wordforms = /var/lib/manticore/test6/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test7/exceptions.txt
stopwords = /var/lib/manticore/test7/stopwords_0.txt
wordforms = /var/lib/manticore/test7/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test8/exceptions.txt
stopwords = /var/lib/manticore/test8/stopwords_0.txt
wordforms = /var/lib/manticore/test8/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test9/exceptions.txt
stopwords = /var/lib/manticore/test9/stopwords_0.txt
wordforms = /var/lib/manticore/test9/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test10/exceptions.txt
stopwords = /var/lib/manticore/test10/stopwords_0.txt
wordforms = /var/lib/manticore/test10/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test11/exceptions.txt
stopwords = /var/lib/manticore/test11/stopwords_0.txt
wordforms = /var/lib/manticore/test11/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test12/exceptions.txt
stopwords = /var/lib/manticore/test12/stopwords_0.txt
wordforms = /var/lib/manticore/test12/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test13/exceptions.txt
stopwords = /var/lib/manticore/test13/stopwords_0.txt
wordforms = /var/lib/manticore/test13/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test14/exceptions.txt
stopwords = /var/lib/manticore/test14/stopwords_0.txt
wordforms = /var/lib/manticore/test14/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test15/exceptions.txt
stopwords = /var/lib/manticore/test15/stopwords_0.txt
wordforms = /var/lib/manticore/test15/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test16/exceptions.txt
stopwords = /var/lib/manticore/test16/stopwords_0.txt
wordforms = /var/lib/manticore/test16/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test17/exceptions.txt
stopwords = /var/lib/manticore/test17/stopwords_0.txt
wordforms = /var/lib/manticore/test17/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test18/exceptions.txt
stopwords = /var/lib/manticore/test18/stopwords_0.txt
wordforms = /var/lib/manticore/test18/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test19/exceptions.txt
stopwords = /var/lib/manticore/test19/stopwords_0.txt
wordforms = /var/lib/manticore/test19/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test20/exceptions.txt
stopwords = /var/lib/manticore/test20/stopwords_0.txt
wordforms = /var/lib/manticore/test20/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test21/exceptions.txt
stopwords = /var/lib/manticore/test21/stopwords_0.txt
wordforms = /var/lib/manticore/test21/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test22/exceptions.txt
stopwords = /var/lib/manticore/test22/stopwords_0.txt
wordforms = /var/lib/manticore/test22/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test23/exceptions.txt
stopwords = /var/lib/manticore/test23/stopwords_0.txt
wordforms = /var/lib/manticore/test23/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test24/exceptions.txt
stopwords = /var/lib/manticore/test24/stopwords_0.txt
wordforms = /var/lib/manticore/test24/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test25/exceptions.txt
stopwords = /var/lib/manticore/test25/stopwords_0.txt
wordforms = /var/lib/manticore/test25/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test26/exceptions.txt
stopwords = /var/lib/manticore/test26/stopwords_0.txt
wordforms = /var/lib/manticore/test26/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test27/exceptions.txt
stopwords = /var/lib/manticore/test27/stopwords_0.txt
wordforms = /var/lib/manticore/test27/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test28/exceptions.txt
stopwords = /var/lib/manticore/test28/stopwords_0.txt
wordforms = /var/lib/manticore/test28/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test29/exceptions.txt
stopwords = /var/lib/manticore/test29/stopwords_0.txt
wordforms = /var/lib/manticore/test29/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test30/exceptions.txt
stopwords = /var/lib/manticore/test30/stopwords_0.txt
wordforms = /var/lib/manticore/test30/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test31/exceptions.txt
stopwords = /var/lib/manticore/test31/stopwords_0.txt
wordforms = /var/lib/manticore/test31/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test32/exceptions.txt
stopwords = /var/lib/manticore/test32/stopwords_0.txt
wordforms = /var/lib/manticore/test32/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test33/exceptions.txt
stopwords = /var/lib/manticore/test33/stopwords_0.txt
wordforms = /var/lib/manticore/test33/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test34/exceptions.txt
stopwords = /var/lib/manticore/test34/stopwords_0.txt
wordforms = /var/lib/manticore/test34/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test35/exceptions.txt
stopwords = /var/lib/manticore/test35/stopwords_0.txt
wordforms = /var/lib/manticore/test35/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test36/exceptions.txt
stopwords = /var/lib/manticore/test36/stopwords_0.txt
wordforms = /var/lib/manticore/test36/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test37/exceptions.txt
stopwords = /var/lib/manticore/test37/stopwords_0.txt
wordforms = /var/lib/manticore/test37/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test38/exceptions.txt
stopwords = /var/lib/manticore/test38/stopwords_0.txt
wordforms = /var/lib/manticore/test38/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test39/exceptions.txt
stopwords = /var/lib/manticore/test39/stopwords_0.txt
wordforms = /var/lib/manticore/test39/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test40/exceptions.txt
stopwords = /var/lib/manticore/test40/stopwords_0.txt
wordforms = /var/lib/manticore/test40/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test41/exceptions.txt
stopwords = /var/lib/manticore/test41/stopwords_0.txt
wordforms = /var/lib/manticore/test41/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test42/exceptions.txt
stopwords = /var/lib/manticore/test42/stopwords_0.txt
wordforms = /var/lib/manticore/test42/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test43/exceptions.txt
stopwords = /var/lib/manticore/test43/stopwords_0.txt
wordforms = /var/lib/manticore/test43/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test44/exceptions.txt
stopwords = /var/lib/manticore/test44/stopwords_0.txt
wordforms = /var/lib/manticore/test44/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test45/exceptions.txt
stopwords = /var/lib/manticore/test45/stopwords_0.txt
wordforms = /var/lib/manticore/test45/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test46/exceptions.txt
stopwords = /var/lib/manticore/test46/stopwords_0.txt
wordforms = /var/lib/manticore/test46/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test47/exceptions.txt
stopwords = /var/lib/manticore/test47/stopwords_0.txt
wordforms = /var/lib/manticore/test47/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test48/exceptions.txt
stopwords = /var/lib/manticore/test48/stopwords_0.txt
wordforms = /var/lib/manticore/test48/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test49/exceptions.txt
stopwords = /var/lib/manticore/test49/stopwords_0.txt
wordforms = /var/lib/manticore/test49/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test50/exceptions.txt
stopwords = /var/lib/manticore/test50/stopwords_0.txt
wordforms = /var/lib/manticore/test50/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test51/exceptions.txt
stopwords = /var/lib/manticore/test51/stopwords_0.txt
wordforms = /var/lib/manticore/test51/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test52/exceptions.txt
stopwords = /var/lib/manticore/test52/stopwords_0.txt
wordforms = /var/lib/manticore/test52/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test53/exceptions.txt
stopwords = /var/lib/manticore/test53/stopwords_0.txt
wordforms = /var/lib/manticore/test53/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test54/exceptions.txt
stopwords = /var/lib/manticore/test54/stopwords_0.txt
wordforms = /var/lib/manticore/test54/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test55/exceptions.txt
stopwords = /var/lib/manticore/test55/stopwords_0.txt
wordforms = /var/lib/manticore/test55/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test56/exceptions.txt
stopwords = /var/lib/manticore/test56/stopwords_0.txt
wordforms = /var/lib/manticore/test56/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test57/exceptions.txt
stopwords = /var/lib/manticore/test57/stopwords_0.txt
wordforms = /var/lib/manticore/test57/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test58/exceptions.txt
stopwords = /var/lib/manticore/test58/stopwords_0.txt
wordforms = /var/lib/manticore/test58/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test59/exceptions.txt
stopwords = /var/lib/manticore/test59/stopwords_0.txt
wordforms = /var/lib/manticore/test59/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test60/exceptions.txt
stopwords = /var/lib/manticore/test60/stopwords_0.txt
wordforms = /var/lib/manticore/test60/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test61/exceptions.txt
stopwords = /var/lib/manticore/test61/stopwords_0.txt
wordforms = /var/lib/manticore/test61/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test62/exceptions.txt
stopwords = /var/lib/manticore/test62/stopwords_0.txt
wordforms = /var/lib/manticore/test62/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test63/exceptions.txt
stopwords = /var/lib/manticore/test63/stopwords_0.txt
wordforms = /var/lib/manticore/test63/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test64/exceptions.txt
stopwords = /var/lib/manticore/test64/stopwords_0.txt
wordforms = /var/lib/manticore/test64/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test65/exceptions.txt
stopwords = /var/lib/manticore/test65/stopwords_0.txt
wordforms = /var/lib/manticore/test65/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test66/exceptions.txt
stopwords = /var/lib/manticore/test66/stopwords_0.txt
wordforms = /var/lib/manticore/test66/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test67/exceptions.txt
stopwords = /var/lib/manticore/test67/stopwords_0.txt
wordforms = /var/lib/manticore/test67/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test68/exceptions.txt
stopwords = /var/lib/manticore/test68/stopwords_0.txt
wordforms = /var/lib/manticore/test68/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test69/exceptions.txt
stopwords = /var/lib/manticore/test69/stopwords_0.txt
wordforms = /var/lib/manticore/test69/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test70/exceptions.txt
stopwords = /var/lib/manticore/test70/stopwords_0.txt
wordforms = /var/lib/manticore/test70/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test71/exceptions.txt
stopwords = /var/lib/manticore/test71/stopwords_0.txt
wordforms = /var/lib/manticore/test71/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test72/exceptions.txt
stopwords = /var/lib/manticore/test72/stopwords_0.txt
wordforms = /var/lib/manticore/test72/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test73/exceptions.txt
stopwords = /var/lib/manticore/test73/stopwords_0.txt
wordforms = /var/lib/manticore/test73/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test74/exceptions.txt
stopwords = /var/lib/manticore/test74/stopwords_0.txt
wordforms = /var/lib/manticore/test74/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test75/exceptions.txt
stopwords = /var/lib/manticore/test75/stopwords_0.txt
wordforms = /var/lib/manticore/test75/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test76/exceptions.txt
stopwords = /var/lib/manticore/test76/stopwords_0.txt
wordforms = /var/lib/manticore/test76/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test77/exceptions.txt
stopwords = /var/lib/manticore/test77/stopwords_0.txt
wordforms = /var/lib/manticore/test77/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test78/exceptions.txt
stopwords = /var/lib/manticore/test78/stopwords_0.txt
wordforms = /var/lib/manticore/test78/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test79/exceptions.txt
stopwords = /var/lib/manticore/test79/stopwords_0.txt
wordforms = /var/lib/manticore/test79/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test80/exceptions.txt
stopwords = /var/lib/manticore/test80/stopwords_0.txt
wordforms = /var/lib/manticore/test80/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test81/exceptions.txt
stopwords = /var/lib/manticore/test81/stopwords_0.txt
wordforms = /var/lib/manticore/test81/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test82/exceptions.txt
stopwords = /var/lib/manticore/test82/stopwords_0.txt
wordforms = /var/lib/manticore/test82/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test83/exceptions.txt
stopwords = /var/lib/manticore/test83/stopwords_0.txt
wordforms = /var/lib/manticore/test83/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test84/exceptions.txt
stopwords = /var/lib/manticore/test84/stopwords_0.txt
wordforms = /var/lib/manticore/test84/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test85/exceptions.txt
stopwords = /var/lib/manticore/test85/stopwords_0.txt
wordforms = /var/lib/manticore/test85/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test86/exceptions.txt
stopwords = /var/lib/manticore/test86/stopwords_0.txt
wordforms = /var/lib/manticore/test86/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test87/exceptions.txt
stopwords = /var/lib/manticore/test87/stopwords_0.txt
wordforms = /var/lib/manticore/test87/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test88/exceptions.txt
stopwords = /var/lib/manticore/test88/stopwords_0.txt
wordforms = /var/lib/manticore/test88/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test89/exceptions.txt
stopwords = /var/lib/manticore/test89/stopwords_0.txt
wordforms = /var/lib/manticore/test89/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test90/exceptions.txt
stopwords = /var/lib/manticore/test90/stopwords_0.txt
wordforms = /var/lib/manticore/test90/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test91/exceptions.txt
stopwords = /var/lib/manticore/test91/stopwords_0.txt
wordforms = /var/lib/manticore/test91/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test92/exceptions.txt
stopwords = /var/lib/manticore/test92/stopwords_0.txt
wordforms = /var/lib/manticore/test92/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test93/exceptions.txt
stopwords = /var/lib/manticore/test93/stopwords_0.txt
wordforms = /var/lib/manticore/test93/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test94/exceptions.txt
stopwords = /var/lib/manticore/test94/stopwords_0.txt
wordforms = /var/lib/manticore/test94/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test95/exceptions.txt
stopwords = /var/lib/manticore/test95/stopwords_0.txt
wordforms = /var/lib/manticore/test95/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test96/exceptions.txt
stopwords = /var/lib/manticore/test96/stopwords_0.txt
wordforms = /var/lib/manticore/test96/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test97/exceptions.txt
stopwords = /var/lib/manticore/test97/stopwords_0.txt
wordforms = /var/lib/manticore/test97/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test98/exceptions.txt
stopwords = /var/lib/manticore/test98/stopwords_0.txt
wordforms = /var/lib/manticore/test98/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test99/exceptions.txt
stopwords = /var/lib/manticore/test99/stopwords_0.txt
wordforms = /var/lib/manticore/test99/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test100/exceptions.txt
stopwords = /var/lib/manticore/test100/stopwords_0.txt
wordforms = /var/lib/manticore/test100/wordforms_0.txt
test/clt-tests/core/test-alter-table.rec––– input –––
rm -rf /var/lib/manticore
––– output –––
––– input –––
mkdir /tmp/test-alter/
––– output –––
––– input –––
ln -s /tmp/test-alter/ /var/lib/manticore
––– output –––
––– input –––
echo "a > b" > /tmp/test-alter/wordforms1.txt; echo "c > d" > /tmp/test-alter/exc.txt; echo "abcstop" > /tmp/test-alter/stop.txt
––– output –––
––– input –––
ls -1 /var/lib/manticore/
––– output –––
exc.txt
stop.txt
wordforms1.txt
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test3 (title TEXT, tag INTEGER) exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt' stopwords='/var/lib/manticore/stop.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: exceptions = /tmp/test-alter/test3/exc.txt
+ Value: exceptions = /tmp/test-alter/test3/exceptions_chunk0_0.txt
- stopwords = /tmp/test-alter/test3/stop.txt
+ stopwords = /tmp/test-alter/test3/stopwords_chunk0_0.txt
- wordforms = /tmp/test-alter/test3/wordforms1.txt
+ wordforms = /tmp/test-alter/test3/wordforms_chunk0_0.txt
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE test3 exceptions = ''"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: stopwords = /tmp/test-alter/test3/stop.txt
+ Value: stopwords = /tmp/test-alter/test3/stopwords_chunk0_0.txt
- wordforms = /tmp/test-alter/test3/wordforms1.txt
+ wordforms = /tmp/test-alter/test3/wordforms_chunk0_0.txt
|
clt👎 CLT tests in test/clt-tests/core/test-external-files-handling.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
echo "z => w" > /var/lib/manticore/wordforms1.txt; echo "x => y" > /var/lib/manticore/wordforms2.txt; echo "c => d" > /var/lib/manticore/exc.txt; echo "abcstop" > /var/lib/manticore/stop1.txt; echo "defstop" > /var/lib/manticore/stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE t_disk (id BIGINT, title TEXT, tag INTEGER) stopwords = 'en, it, /var/lib/manticore/stop1.txt, /var/lib/manticore/stop2.txt' exceptions = '/var/lib/manticore/exc.txt' wordforms = '/var/lib/manticore/wordforms1.txt, /var/lib/manticore/wordforms2.txt,';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_disk (id, title, tag) VALUES (1, 'zxczxc', 77); FLUSH RAMCHUNK t_disk;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_disk (id, title, tag) VALUES (2, 'srthh', 88); FLUSH RAMCHUNK t_disk; OPTIMIZE TABLE t_disk OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_disk (id, title, tag) VALUES (3, 'srthgrth', 99); FLUSH RAMCHUNK t_disk; OPTIMIZE TABLE t_disk OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES; SELECT * FROM t_disk; SHOW CREATE TABLE t_disk;"
––– output –––
+--------+------+
| Index | Type |
+--------+------+
| t_disk | rt |
+--------+------+
+------+----------+------+
| id | title | tag |
+------+----------+------+
| 1 | zxczxc | 77 |
| 2 | srthh | 88 |
| 3 | srthgrth | 99 |
+------+----------+------+
- +--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Table | Create Table |
+ | Table | Create Table |
- +--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| t_disk | CREATE TABLE t_disk (
id bigint,
title text,
tag integer
- ) exceptions='/var/lib/manticore/t_disk/exc.txt' stopwords='/var/lib/manticore/t_disk/en /var/lib/manticore/t_disk/it /var/lib/manticore/t_disk/stop1.txt /var/lib/manticore/t_disk/stop2.txt' wordforms='/var/lib/manticore/t_disk/wordforms1.txt /var/lib/manticore/t_disk/wordforms2.txt' |
+ ) exceptions='/var/lib/manticore/t_disk/exceptions_chunk0_0.txt' stopwords='/var/lib/manticore/t_disk/stopwords_chunk0_0.txt /var/lib/manticore/t_disk/stopwords_chunk0_1.txt /var/lib/manticore/t_disk/stopwords_chunk0_2.txt /var/lib/manticore/t_disk/stopwords_chunk0_3.txt' wordforms='/var/lib/manticore/t_disk/wordforms_chunk0_0.txt /var/lib/manticore/t_disk/wordforms_chunk0_1.txt' |
- +--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE t_disk STATUS LIKE 'disk_chunks';"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| disk_chunks | 1 |
+---------------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_disk/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_disk/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_disk/en /var/lib/manticore/t_disk/it /var/lib/manticore/t_disk/stop1.txt /var/lib/manticore/t_disk/stop2.txt
+ stopwords = /var/lib/manticore/t_disk/stopwords_chunk0_0.txt /var/lib/manticore/t_disk/stopwords_chunk0_1.txt /var/lib/manticore/t_disk/stopwords_chunk0_2.txt /var/lib/manticore/t_disk/stopwords_chunk0_3.txt
- wordforms = /var/lib/manticore/t_disk/wordforms1.txt /var/lib/manticore/t_disk/wordforms2.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk0_0.txt /var/lib/manticore/t_disk/wordforms_chunk0_1.txt |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_disk'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_disk/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_disk/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_disk/en /var/lib/manticore/t_disk/it /var/lib/manticore/t_disk/stop1.txt /var/lib/manticore/t_disk/stop2.txt
+ stopwords = /var/lib/manticore/t_disk/stopwords_chunk0_0.txt /var/lib/manticore/t_disk/stopwords_chunk0_1.txt /var/lib/manticore/t_disk/stopwords_chunk0_2.txt /var/lib/manticore/t_disk/stopwords_chunk0_3.txt
- wordforms = /var/lib/manticore/t_disk/wordforms1.txt /var/lib/manticore/t_disk/wordforms2.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk0_0.txt /var/lib/manticore/t_disk/wordforms_chunk0_1.txt |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mkdir -p /var/lib/manticore/t/ && echo "x => z" > /var/lib/manticore/t/new_exc.txt && echo "apple => orange" > /var/lib/manticore/t/new_wordforms1.txt && echo "banana => pear" > /var/lib/manticore/t/new_wordforms2.txt && echo "newstop1" > /var/lib/manticore/t/new_stop1.txt && echo "newstop2" > /var/lib/manticore/t/new_stop2.txt
––– output –––
––– input –––
echo "x => z" > /var/lib/manticore/t/new_exc.txt
––– output –––
––– input –––
echo "apple => orange" > /var/lib/manticore/t/new_wordforms1.txt
––– output –––
––– input –––
echo "banana => pear" > /var/lib/manticore/t/new_wordforms2.txt
––– output –––
––– input –––
echo "newstop1" > /var/lib/manticore/t/new_stop1.txt
––– output –––
––– input –––
echo "newstop2" > /var/lib/manticore/t/new_stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk STOPWORDS='/var/lib/manticore/t/new_stop1.txt, /var/lib/manticore/t/new_stop2.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk EXCEPTIONS='/var/lib/manticore/t/new_exc.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk WORDFORMS='/var/lib/manticore/t/new_wordforms1.txt, /var/lib/manticore/t/new_wordforms2.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_disk/new_exc.txt
+ | settings | exceptions = /var/lib/manticore/t_disk/exceptions_chunk4_0.txt
- stopwords = /var/lib/manticore/t_disk/new_stop1.txt /var/lib/manticore/t_disk/new_stop2.txt
+ stopwords = /var/lib/manticore/t_disk/stopwords_chunk4_0.txt /var/lib/manticore/t_disk/stopwords_chunk4_1.txt
- wordforms = /var/lib/manticore/t_disk/new_wordforms1.txt /var/lib/manticore/t_disk/new_wordforms2.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk4_0.txt /var/lib/manticore/t_disk/wordforms_chunk4_1.txt |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk STOPWORDS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk EXCEPTIONS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk WORDFORMS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| settings | |
+---------------+-------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_disk'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| settings | |
+---------------+-------+
––– input –––
echo "newstop3" > /var/lib/manticore/t/new_stop3.txt && echo "newstop4" > /var/lib/manticore/t/new_stop4.txt && echo "newstop5" > /var/lib/manticore/t/new_stop5.txt && echo "newstop6" > /var/lib/manticore/t/new_stop6.txt && echo "newstop7" > /var/lib/manticore/t/new_stop7.txt
––– output –––
––– input –––
echo "word1 => replacement1" > /var/lib/manticore/t/new_wordforms3.txt && echo "word2 => replacement2" > /var/lib/manticore/t/new_wordforms4.txt && echo "word3 => replacement3" > /var/lib/manticore/t/new_wordforms5.txt && echo "word4 => replacement4" > /var/lib/manticore/t/new_wordforms6.txt && echo "word5 => replacement5" > /var/lib/manticore/t/new_wordforms7.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk STOPWORDS='/var/lib/manticore/t/new_stop3.txt, /var/lib/manticore/t/new_stop4.txt, /var/lib/manticore/t/new_stop5.txt, /var/lib/manticore/t/new_stop6.txt, /var/lib/manticore/t/new_stop7.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk WORDFORMS='/var/lib/manticore/t/new_wordforms3.txt, /var/lib/manticore/t/new_wordforms4.txt, /var/lib/manticore/t/new_wordforms5.txt, /var/lib/manticore/t/new_wordforms6.txt, /var/lib/manticore/t/new_wordforms7.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | stopwords = /var/lib/manticore/t_disk/new_stop3.txt /var/lib/manticore/t_disk/new_stop4.txt /var/lib/manticore/t_disk/new_stop5.txt /var/lib/manticore/t_disk/new_stop6.txt /var/lib/manticore/t_disk/new_stop7.txt
+ | settings | stopwords = /var/lib/manticore/t_disk/stopwords_chunk4_0.txt /var/lib/manticore/t_disk/stopwords_chunk4_1.txt /var/lib/manticore/t_disk/stopwords_chunk4_2.txt /var/lib/manticore/t_disk/stopwords_chunk4_3.txt /var/lib/manticore/t_disk/stopwords_chunk4_4.txt
- wordforms = /var/lib/manticore/t_disk/new_wordforms3.txt /var/lib/manticore/t_disk/new_wordforms4.txt /var/lib/manticore/t_disk/new_wordforms5.txt /var/lib/manticore/t_disk/new_wordforms6.txt /var/lib/manticore/t_disk/new_wordforms7.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk4_0.txt /var/lib/manticore/t_disk/wordforms_chunk4_1.txt /var/lib/manticore/t_disk/wordforms_chunk4_2.txt /var/lib/manticore/t_disk/wordforms_chunk4_3.txt /var/lib/manticore/t_disk/wordforms_chunk4_4.txt |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_disk'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | stopwords = /var/lib/manticore/t_disk/new_stop3.txt /var/lib/manticore/t_disk/new_stop4.txt /var/lib/manticore/t_disk/new_stop5.txt /var/lib/manticore/t_disk/new_stop6.txt /var/lib/manticore/t_disk/new_stop7.txt
+ | settings | stopwords = /var/lib/manticore/t_disk/stopwords_chunk4_0.txt /var/lib/manticore/t_disk/stopwords_chunk4_1.txt /var/lib/manticore/t_disk/stopwords_chunk4_2.txt /var/lib/manticore/t_disk/stopwords_chunk4_3.txt /var/lib/manticore/t_disk/stopwords_chunk4_4.txt
- wordforms = /var/lib/manticore/t_disk/new_wordforms3.txt /var/lib/manticore/t_disk/new_wordforms4.txt /var/lib/manticore/t_disk/new_wordforms5.txt /var/lib/manticore/t_disk/new_wordforms6.txt /var/lib/manticore/t_disk/new_wordforms7.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk4_0.txt /var/lib/manticore/t_disk/wordforms_chunk4_1.txt /var/lib/manticore/t_disk/wordforms_chunk4_2.txt /var/lib/manticore/t_disk/wordforms_chunk4_3.txt /var/lib/manticore/t_disk/wordforms_chunk4_4.txt |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
test/clt-tests/core/test-import-table.rec––– input –––
mkdir /tmp/import-table/
––– output –––
––– input –––
echo "a > b" > /tmp/import-table/wordforms1.txt; echo "c > d" > /tmp/import-table/exc.txt; echo "abcstop" > /tmp/import-table/stop.txt
––– output –––
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test (id INT) exceptions='/tmp/import-table/exc.txt' wordforms='/tmp/import-table/wordforms1.txt' stopwords='/tmp/import-table/stop.txt'; INSERT INTO test(id) VALUES(1);"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: exceptions = /var/lib/manticore/test/exc.txt
+ Value: exceptions = /var/lib/manticore/test/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/test/stop.txt
+ stopwords = /var/lib/manticore/test/stopwords_chunk0_0.txt
- wordforms = /var/lib/manticore/test/wordforms1.txt
+ wordforms = /var/lib/manticore/test/wordforms_chunk0_0.txt
––– input –––
mysql -h0 -P9306 -e "import table test2 from '/var/lib/manticore/test/test'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test2 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test2/exceptions.txt
stopwords = /var/lib/manticore/test2/stopwords_0.txt
wordforms = /var/lib/manticore/test2/wordforms_0.txt
––– input –––
mysql -h0 -P9306 -e "import table test3 from '/var/lib/manticore/test2/test2'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test3/exceptions.txt
stopwords = /var/lib/manticore/test3/stopwords_0.txt
wordforms = /var/lib/manticore/test3/wordforms_0.txt
––– input –––
mysql -h0 -P9306 -e "CALL keywords('a 123', 'test2');"
––– output –––
+------+-----------+------------+
| qpos | tokenized | normalized |
+------+-----------+------------+
| 1 | a | b |
| 2 | 123 | 123 |
+------+-----------+------------+
––– input –––
mysql -h0 -P9306 -e "CALL keywords('a 123', 'test3');"
––– output –––
+------+-----------+------------+
| qpos | tokenized | normalized |
+------+-----------+------------+
| 1 | a | b |
| 2 | 123 | 123 |
+------+-----------+------------+
––– input –––
mysql -h0 -P9306 -e "import table test-5 from '/var/lib/manticore/test2/test2'"
––– output –––
ERROR 1064 (42000) at line 1: P03: syntax error, unexpected $undefined, expecting FROM near '-5 from '/var/lib/manticore/test2/test2''
––– input –––
mysql -h0 -P9306 -e "import table test_5 from '/var/lib/manticore/test2/test2'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "import table test4 from '/var/lib/manticore/test101/test101'"
––– output –––
ERROR 1064 (42000) at line 1: unable to import table 'test4': no table files found
––– input –––
for i in {2..100}; do prev_table="test$((i-1))"; new_table="test${i}"; import_path="/var/lib/manticore/${prev_table}/${prev_table}"; mysql -h0 -P9306 -e "import table ${new_table} from '${import_path}'"; mysql -h0 -P9306 -e "SHOW TABLE ${new_table} SETTINGS\G"; done
––– output –––
ERROR 1064 (42000) at line 1: table 'test2' already exists
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test2/exceptions.txt
stopwords = /var/lib/manticore/test2/stopwords_0.txt
wordforms = /var/lib/manticore/test2/wordforms_0.txt
ERROR 1064 (42000) at line 1: table 'test3' already exists
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test3/exceptions.txt
stopwords = /var/lib/manticore/test3/stopwords_0.txt
wordforms = /var/lib/manticore/test3/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test4/exceptions.txt
stopwords = /var/lib/manticore/test4/stopwords_0.txt
wordforms = /var/lib/manticore/test4/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test5/exceptions.txt
stopwords = /var/lib/manticore/test5/stopwords_0.txt
wordforms = /var/lib/manticore/test5/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test6/exceptions.txt
stopwords = /var/lib/manticore/test6/stopwords_0.txt
wordforms = /var/lib/manticore/test6/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test7/exceptions.txt
stopwords = /var/lib/manticore/test7/stopwords_0.txt
wordforms = /var/lib/manticore/test7/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test8/exceptions.txt
stopwords = /var/lib/manticore/test8/stopwords_0.txt
wordforms = /var/lib/manticore/test8/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test9/exceptions.txt
stopwords = /var/lib/manticore/test9/stopwords_0.txt
wordforms = /var/lib/manticore/test9/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test10/exceptions.txt
stopwords = /var/lib/manticore/test10/stopwords_0.txt
wordforms = /var/lib/manticore/test10/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test11/exceptions.txt
stopwords = /var/lib/manticore/test11/stopwords_0.txt
wordforms = /var/lib/manticore/test11/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test12/exceptions.txt
stopwords = /var/lib/manticore/test12/stopwords_0.txt
wordforms = /var/lib/manticore/test12/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test13/exceptions.txt
stopwords = /var/lib/manticore/test13/stopwords_0.txt
wordforms = /var/lib/manticore/test13/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test14/exceptions.txt
stopwords = /var/lib/manticore/test14/stopwords_0.txt
wordforms = /var/lib/manticore/test14/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test15/exceptions.txt
stopwords = /var/lib/manticore/test15/stopwords_0.txt
wordforms = /var/lib/manticore/test15/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test16/exceptions.txt
stopwords = /var/lib/manticore/test16/stopwords_0.txt
wordforms = /var/lib/manticore/test16/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test17/exceptions.txt
stopwords = /var/lib/manticore/test17/stopwords_0.txt
wordforms = /var/lib/manticore/test17/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test18/exceptions.txt
stopwords = /var/lib/manticore/test18/stopwords_0.txt
wordforms = /var/lib/manticore/test18/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test19/exceptions.txt
stopwords = /var/lib/manticore/test19/stopwords_0.txt
wordforms = /var/lib/manticore/test19/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test20/exceptions.txt
stopwords = /var/lib/manticore/test20/stopwords_0.txt
wordforms = /var/lib/manticore/test20/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test21/exceptions.txt
stopwords = /var/lib/manticore/test21/stopwords_0.txt
wordforms = /var/lib/manticore/test21/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test22/exceptions.txt
stopwords = /var/lib/manticore/test22/stopwords_0.txt
wordforms = /var/lib/manticore/test22/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test23/exceptions.txt
stopwords = /var/lib/manticore/test23/stopwords_0.txt
wordforms = /var/lib/manticore/test23/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test24/exceptions.txt
stopwords = /var/lib/manticore/test24/stopwords_0.txt
wordforms = /var/lib/manticore/test24/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test25/exceptions.txt
stopwords = /var/lib/manticore/test25/stopwords_0.txt
wordforms = /var/lib/manticore/test25/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test26/exceptions.txt
stopwords = /var/lib/manticore/test26/stopwords_0.txt
wordforms = /var/lib/manticore/test26/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test27/exceptions.txt
stopwords = /var/lib/manticore/test27/stopwords_0.txt
wordforms = /var/lib/manticore/test27/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test28/exceptions.txt
stopwords = /var/lib/manticore/test28/stopwords_0.txt
wordforms = /var/lib/manticore/test28/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test29/exceptions.txt
stopwords = /var/lib/manticore/test29/stopwords_0.txt
wordforms = /var/lib/manticore/test29/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test30/exceptions.txt
stopwords = /var/lib/manticore/test30/stopwords_0.txt
wordforms = /var/lib/manticore/test30/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test31/exceptions.txt
stopwords = /var/lib/manticore/test31/stopwords_0.txt
wordforms = /var/lib/manticore/test31/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test32/exceptions.txt
stopwords = /var/lib/manticore/test32/stopwords_0.txt
wordforms = /var/lib/manticore/test32/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test33/exceptions.txt
stopwords = /var/lib/manticore/test33/stopwords_0.txt
wordforms = /var/lib/manticore/test33/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test34/exceptions.txt
stopwords = /var/lib/manticore/test34/stopwords_0.txt
wordforms = /var/lib/manticore/test34/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test35/exceptions.txt
stopwords = /var/lib/manticore/test35/stopwords_0.txt
wordforms = /var/lib/manticore/test35/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test36/exceptions.txt
stopwords = /var/lib/manticore/test36/stopwords_0.txt
wordforms = /var/lib/manticore/test36/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test37/exceptions.txt
stopwords = /var/lib/manticore/test37/stopwords_0.txt
wordforms = /var/lib/manticore/test37/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test38/exceptions.txt
stopwords = /var/lib/manticore/test38/stopwords_0.txt
wordforms = /var/lib/manticore/test38/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test39/exceptions.txt
stopwords = /var/lib/manticore/test39/stopwords_0.txt
wordforms = /var/lib/manticore/test39/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test40/exceptions.txt
stopwords = /var/lib/manticore/test40/stopwords_0.txt
wordforms = /var/lib/manticore/test40/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test41/exceptions.txt
stopwords = /var/lib/manticore/test41/stopwords_0.txt
wordforms = /var/lib/manticore/test41/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test42/exceptions.txt
stopwords = /var/lib/manticore/test42/stopwords_0.txt
wordforms = /var/lib/manticore/test42/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test43/exceptions.txt
stopwords = /var/lib/manticore/test43/stopwords_0.txt
wordforms = /var/lib/manticore/test43/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test44/exceptions.txt
stopwords = /var/lib/manticore/test44/stopwords_0.txt
wordforms = /var/lib/manticore/test44/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test45/exceptions.txt
stopwords = /var/lib/manticore/test45/stopwords_0.txt
wordforms = /var/lib/manticore/test45/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test46/exceptions.txt
stopwords = /var/lib/manticore/test46/stopwords_0.txt
wordforms = /var/lib/manticore/test46/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test47/exceptions.txt
stopwords = /var/lib/manticore/test47/stopwords_0.txt
wordforms = /var/lib/manticore/test47/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test48/exceptions.txt
stopwords = /var/lib/manticore/test48/stopwords_0.txt
wordforms = /var/lib/manticore/test48/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test49/exceptions.txt
stopwords = /var/lib/manticore/test49/stopwords_0.txt
wordforms = /var/lib/manticore/test49/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test50/exceptions.txt
stopwords = /var/lib/manticore/test50/stopwords_0.txt
wordforms = /var/lib/manticore/test50/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test51/exceptions.txt
stopwords = /var/lib/manticore/test51/stopwords_0.txt
wordforms = /var/lib/manticore/test51/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test52/exceptions.txt
stopwords = /var/lib/manticore/test52/stopwords_0.txt
wordforms = /var/lib/manticore/test52/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test53/exceptions.txt
stopwords = /var/lib/manticore/test53/stopwords_0.txt
wordforms = /var/lib/manticore/test53/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test54/exceptions.txt
stopwords = /var/lib/manticore/test54/stopwords_0.txt
wordforms = /var/lib/manticore/test54/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test55/exceptions.txt
stopwords = /var/lib/manticore/test55/stopwords_0.txt
wordforms = /var/lib/manticore/test55/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test56/exceptions.txt
stopwords = /var/lib/manticore/test56/stopwords_0.txt
wordforms = /var/lib/manticore/test56/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test57/exceptions.txt
stopwords = /var/lib/manticore/test57/stopwords_0.txt
wordforms = /var/lib/manticore/test57/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test58/exceptions.txt
stopwords = /var/lib/manticore/test58/stopwords_0.txt
wordforms = /var/lib/manticore/test58/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test59/exceptions.txt
stopwords = /var/lib/manticore/test59/stopwords_0.txt
wordforms = /var/lib/manticore/test59/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test60/exceptions.txt
stopwords = /var/lib/manticore/test60/stopwords_0.txt
wordforms = /var/lib/manticore/test60/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test61/exceptions.txt
stopwords = /var/lib/manticore/test61/stopwords_0.txt
wordforms = /var/lib/manticore/test61/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test62/exceptions.txt
stopwords = /var/lib/manticore/test62/stopwords_0.txt
wordforms = /var/lib/manticore/test62/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test63/exceptions.txt
stopwords = /var/lib/manticore/test63/stopwords_0.txt
wordforms = /var/lib/manticore/test63/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test64/exceptions.txt
stopwords = /var/lib/manticore/test64/stopwords_0.txt
wordforms = /var/lib/manticore/test64/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test65/exceptions.txt
stopwords = /var/lib/manticore/test65/stopwords_0.txt
wordforms = /var/lib/manticore/test65/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test66/exceptions.txt
stopwords = /var/lib/manticore/test66/stopwords_0.txt
wordforms = /var/lib/manticore/test66/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test67/exceptions.txt
stopwords = /var/lib/manticore/test67/stopwords_0.txt
wordforms = /var/lib/manticore/test67/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test68/exceptions.txt
stopwords = /var/lib/manticore/test68/stopwords_0.txt
wordforms = /var/lib/manticore/test68/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test69/exceptions.txt
stopwords = /var/lib/manticore/test69/stopwords_0.txt
wordforms = /var/lib/manticore/test69/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test70/exceptions.txt
stopwords = /var/lib/manticore/test70/stopwords_0.txt
wordforms = /var/lib/manticore/test70/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test71/exceptions.txt
stopwords = /var/lib/manticore/test71/stopwords_0.txt
wordforms = /var/lib/manticore/test71/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test72/exceptions.txt
stopwords = /var/lib/manticore/test72/stopwords_0.txt
wordforms = /var/lib/manticore/test72/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test73/exceptions.txt
stopwords = /var/lib/manticore/test73/stopwords_0.txt
wordforms = /var/lib/manticore/test73/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test74/exceptions.txt
stopwords = /var/lib/manticore/test74/stopwords_0.txt
wordforms = /var/lib/manticore/test74/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test75/exceptions.txt
stopwords = /var/lib/manticore/test75/stopwords_0.txt
wordforms = /var/lib/manticore/test75/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test76/exceptions.txt
stopwords = /var/lib/manticore/test76/stopwords_0.txt
wordforms = /var/lib/manticore/test76/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test77/exceptions.txt
stopwords = /var/lib/manticore/test77/stopwords_0.txt
wordforms = /var/lib/manticore/test77/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test78/exceptions.txt
stopwords = /var/lib/manticore/test78/stopwords_0.txt
wordforms = /var/lib/manticore/test78/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test79/exceptions.txt
stopwords = /var/lib/manticore/test79/stopwords_0.txt
wordforms = /var/lib/manticore/test79/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test80/exceptions.txt
stopwords = /var/lib/manticore/test80/stopwords_0.txt
wordforms = /var/lib/manticore/test80/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test81/exceptions.txt
stopwords = /var/lib/manticore/test81/stopwords_0.txt
wordforms = /var/lib/manticore/test81/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test82/exceptions.txt
stopwords = /var/lib/manticore/test82/stopwords_0.txt
wordforms = /var/lib/manticore/test82/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test83/exceptions.txt
stopwords = /var/lib/manticore/test83/stopwords_0.txt
wordforms = /var/lib/manticore/test83/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test84/exceptions.txt
stopwords = /var/lib/manticore/test84/stopwords_0.txt
wordforms = /var/lib/manticore/test84/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test85/exceptions.txt
stopwords = /var/lib/manticore/test85/stopwords_0.txt
wordforms = /var/lib/manticore/test85/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test86/exceptions.txt
stopwords = /var/lib/manticore/test86/stopwords_0.txt
wordforms = /var/lib/manticore/test86/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test87/exceptions.txt
stopwords = /var/lib/manticore/test87/stopwords_0.txt
wordforms = /var/lib/manticore/test87/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test88/exceptions.txt
stopwords = /var/lib/manticore/test88/stopwords_0.txt
wordforms = /var/lib/manticore/test88/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test89/exceptions.txt
stopwords = /var/lib/manticore/test89/stopwords_0.txt
wordforms = /var/lib/manticore/test89/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test90/exceptions.txt
stopwords = /var/lib/manticore/test90/stopwords_0.txt
wordforms = /var/lib/manticore/test90/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test91/exceptions.txt
stopwords = /var/lib/manticore/test91/stopwords_0.txt
wordforms = /var/lib/manticore/test91/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test92/exceptions.txt
stopwords = /var/lib/manticore/test92/stopwords_0.txt
wordforms = /var/lib/manticore/test92/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test93/exceptions.txt
stopwords = /var/lib/manticore/test93/stopwords_0.txt
wordforms = /var/lib/manticore/test93/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test94/exceptions.txt
stopwords = /var/lib/manticore/test94/stopwords_0.txt
wordforms = /var/lib/manticore/test94/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test95/exceptions.txt
stopwords = /var/lib/manticore/test95/stopwords_0.txt
wordforms = /var/lib/manticore/test95/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test96/exceptions.txt
stopwords = /var/lib/manticore/test96/stopwords_0.txt
wordforms = /var/lib/manticore/test96/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test97/exceptions.txt
stopwords = /var/lib/manticore/test97/stopwords_0.txt
wordforms = /var/lib/manticore/test97/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test98/exceptions.txt
stopwords = /var/lib/manticore/test98/stopwords_0.txt
wordforms = /var/lib/manticore/test98/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test99/exceptions.txt
stopwords = /var/lib/manticore/test99/stopwords_0.txt
wordforms = /var/lib/manticore/test99/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test100/exceptions.txt
stopwords = /var/lib/manticore/test100/stopwords_0.txt
wordforms = /var/lib/manticore/test100/wordforms_0.txt
test/clt-tests/core/test-alter-table.rec––– input –––
rm -rf /var/lib/manticore
––– output –––
––– input –––
mkdir /tmp/test-alter/
––– output –––
––– input –––
ln -s /tmp/test-alter/ /var/lib/manticore
––– output –––
––– input –––
echo "a > b" > /tmp/test-alter/wordforms1.txt; echo "c > d" > /tmp/test-alter/exc.txt; echo "abcstop" > /tmp/test-alter/stop.txt
––– output –––
––– input –––
ls -1 /var/lib/manticore/
––– output –––
exc.txt
stop.txt
wordforms1.txt
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test3 (title TEXT, tag INTEGER) exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt' stopwords='/var/lib/manticore/stop.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: exceptions = /tmp/test-alter/test3/exc.txt
+ Value: exceptions = /tmp/test-alter/test3/exceptions_chunk0_0.txt
- stopwords = /tmp/test-alter/test3/stop.txt
+ stopwords = /tmp/test-alter/test3/stopwords_chunk0_0.txt
- wordforms = /tmp/test-alter/test3/wordforms1.txt
+ wordforms = /tmp/test-alter/test3/wordforms_chunk0_0.txt
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE test3 exceptions = ''"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: stopwords = /tmp/test-alter/test3/stop.txt
+ Value: stopwords = /tmp/test-alter/test3/stopwords_chunk0_0.txt
- wordforms = /tmp/test-alter/test3/wordforms1.txt
+ wordforms = /tmp/test-alter/test3/wordforms_chunk0_0.txt
test/clt-tests/core/test-external-files-handling-negative.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
echo "z => w" > /var/lib/manticore/wordforms1.txt; echo "z => w" > /var/lib/manticore/wordforms2.txt; echo "a => b" > /var/lib/manticore/wordforms3.txt; echo "c => d" > /var/lib/manticore/exc.txt; echo "z" > /var/lib/manticore/stop1.txt; echo "defstop" > /var/lib/manticore/stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE t_ram (id BIGINT, title TEXT, tag INTEGER) stopwords='/var/lib/manticore/stop1.txt, /var/lib/manticore/stop2.txt' exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt, /var/lib/manticore/wordforms2.txt, /var/lib/manticore/wordforms3.txt' rt_mem_limit='256M';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (1, 'zxczxc', 77); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (2, 'srthh', 88); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (3, 'srthgrth', 99); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES; SELECT * FROM t_ram; SHOW CREATE TABLE t_ram;"
––– output –––
+-------+------+
| Index | Type |
+-------+------+
| t_ram | rt |
+-------+------+
+------+----------+------+
| id | title | tag |
+------+----------+------+
| 2 | srthh | 88 |
| 1 | zxczxc | 77 |
| 3 | srthgrth | 99 |
+------+----------+------+
- +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Table | Create Table |
+ | Table | Create Table |
- +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| t_ram | CREATE TABLE t_ram (
id bigint,
title text,
tag integer
- ) exceptions='/var/lib/manticore/t_ram/exc.txt' stopwords='/var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt' wordforms='/var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt /var/lib/manticore/t_ram/wordforms3.txt' rt_mem_limit='268435456' |
+ ) exceptions='/var/lib/manticore/t_ram/exceptions_chunk0_0.txt' stopwords='/var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt' wordforms='/var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt /var/lib/manticore/t_ram/wordforms_chunk0_2.txt' rt_mem_limit='268435456' |
- +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE t_ram STATUS LIKE 'disk_chunks';"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| disk_chunks | 3 |
+---------------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_ram/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_ram/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt
+ stopwords = /var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt
- wordforms = /var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt /var/lib/manticore/t_ram/wordforms3.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt /var/lib/manticore/t_ram/wordforms_chunk0_2.txt
rt_mem_limit = 268435456 |
- +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_ram'
- WARNING: table 't_ram': all source tokens are stopwords (wordform='z => w', file='/var/lib/manticore/t_ram/wordforms1.txt'). IGNORED.
+ WARNING: table 't_ram': all wordform source tokens are stopwords (wordform='z => w', file='/var/lib/manticore/t_ram/wordforms_chunk0_0.txt'). IGNORED.
- WARNING: table 't_ram': all source tokens are stopwords (wordform='z => w', file='/var/lib/manticore/t_ram/wordforms2.txt'). IGNORED.
+ WARNING: table 't_ram': all wordform source tokens are stopwords (wordform='z => w', file='/var/lib/manticore/t_ram/wordforms_chunk0_1.txt'). IGNORED.
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
test/clt-tests/core/test-external-files-handling-ramchunk.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
echo "z => w" > /var/lib/manticore/wordforms1.txt; echo "x => y" > /var/lib/manticore/wordforms2.txt; echo "c => d" > /var/lib/manticore/exc.txt; echo "abcstop" > /var/lib/manticore/stop1.txt; echo "defstop" > /var/lib/manticore/stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE t_ram (id BIGINT, title TEXT, tag INTEGER) stopwords = 'en, it, /var/lib/manticore/stop1.txt, /var/lib/manticore/stop2.txt' exceptions = '/var/lib/manticore/exc.txt' wordforms = '/var/lib/manticore/wordforms1.txt, /var/lib/manticore/wordforms2.txt' rt_mem_limit = '256M';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (1, 'zxczxc', 77); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (2, 'srthh', 88); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (3, 'srthgrth', 99); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES; SELECT * FROM t_ram; SHOW CREATE TABLE t_ram;"
––– output –––
+-------+------+
| Index | Type |
+-------+------+
| t_ram | rt |
+-------+------+
+------+----------+------+
| id | title | tag |
+------+----------+------+
| 2 | srthh | 88 |
| 1 | zxczxc | 77 |
| 3 | srthgrth | 99 |
+------+----------+------+
- +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Table | Create Table |
+ | Table | Create Table |
- +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| t_ram | CREATE TABLE t_ram (
id bigint,
title text,
tag integer
- ) exceptions='/var/lib/manticore/t_ram/exc.txt' stopwords='/var/lib/manticore/t_ram/en /var/lib/manticore/t_ram/it /var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt' wordforms='/var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt' rt_mem_limit='268435456' |
+ ) exceptions='/var/lib/manticore/t_ram/exceptions_chunk0_0.txt' stopwords='/var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt /var/lib/manticore/t_ram/stopwords_chunk0_2.txt /var/lib/manticore/t_ram/stopwords_chunk0_3.txt' wordforms='/var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt' rt_mem_limit='268435456' |
- +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE t_ram STATUS LIKE 'disk_chunks';"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| disk_chunks | 3 |
+---------------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_ram/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_ram/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_ram/en /var/lib/manticore/t_ram/it /var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt
+ stopwords = /var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt /var/lib/manticore/t_ram/stopwords_chunk0_2.txt /var/lib/manticore/t_ram/stopwords_chunk0_3.txt
- wordforms = /var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt
rt_mem_limit = 268435456 |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_ram'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_ram/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_ram/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_ram/en /var/lib/manticore/t_ram/it /var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt
+ stopwords = /var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt /var/lib/manticore/t_ram/stopwords_chunk0_2.txt /var/lib/manticore/t_ram/stopwords_chunk0_3.txt
- wordforms = /var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt
rt_mem_limit = 268435456 |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mkdir -p /var/lib/manticore/t/ && echo "x => z" > /var/lib/manticore/t/new_exc.txt && echo "apple => orange" > /var/lib/manticore/t/new_wordforms1.txt && echo "banana => pear" > /var/lib/manticore/t/new_wordforms2.txt && echo "newstop1" > /var/lib/manticore/t/new_stop1.txt && echo "newstop2" > /var/lib/manticore/t/new_stop2.txt
––– output –––
––– input –––
echo "x => z" > /var/lib/manticore/t/new_exc.txt
––– output –––
––– input –––
echo "apple => orange" > /var/lib/manticore/t/new_wordforms1.txt
––– output –––
––– input –––
echo "banana => pear" > /var/lib/manticore/t/new_wordforms2.txt
––– output –––
––– input –––
echo "newstop1" > /var/lib/manticore/t/new_stop1.txt
––– output –––
––– input –––
echo "newstop2" > /var/lib/manticore/t/new_stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram STOPWORDS='/var/lib/manticore/t/new_stop1.txt, /var/lib/manticore/t/new_stop2.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram EXCEPTIONS='/var/lib/manticore/t/new_exc.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram WORDFORMS='/var/lib/manticore/t/new_wordforms1.txt, /var/lib/manticore/t/new_wordforms2.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_ram/new_exc.txt
+ | settings | exceptions = /var/lib/manticore/t_ram/exceptions_chunk2_0.txt
- stopwords = /var/lib/manticore/t_ram/new_stop1.txt /var/lib/manticore/t_ram/new_stop2.txt
+ stopwords = /var/lib/manticore/t_ram/stopwords_chunk2_0.txt /var/lib/manticore/t_ram/stopwords_chunk2_1.txt
- wordforms = /var/lib/manticore/t_ram/new_wordforms1.txt /var/lib/manticore/t_ram/new_wordforms2.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk2_0.txt /var/lib/manticore/t_ram/wordforms_chunk2_1.txt
rt_mem_limit = 268435456 |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram STOPWORDS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram EXCEPTIONS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram WORDFORMS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
+---------------+--------------------------+
| Variable_name | Value |
+---------------+--------------------------+
| settings | rt_mem_limit = 268435456 |
+---------------+--------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_ram'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
+---------------+--------------------------+
| Variable_name | Value |
+---------------+--------------------------+
| settings | rt_mem_limit = 268435456 |
+---------------+--------------------------+
––– input –––
echo "newstop3" > /var/lib/manticore/t/new_stop3.txt && echo "newstop4" > /var/lib/manticore/t/new_stop4.txt && echo "newstop5" > /var/lib/manticore/t/new_stop5.txt && echo "newstop6" > /var/lib/manticore/t/new_stop6.txt && echo "newstop7" > /var/lib/manticore/t/new_stop7.txt
––– output –––
––– input –––
echo "word1 => replacement1" > /var/lib/manticore/t/new_wordforms3.txt && echo "word2 => replacement2" > /var/lib/manticore/t/new_wordforms4.txt && echo "word3 => replacement3" > /var/lib/manticore/t/new_wordforms5.txt && echo "word4 => replacement4" > /var/lib/manticore/t/new_wordforms6.txt && echo "word5 => replacement5" > /var/lib/manticore/t/new_wordforms7.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram STOPWORDS='/var/lib/manticore/t/new_stop3.txt, /var/lib/manticore/t/new_stop4.txt, /var/lib/manticore/t/new_stop5.txt, /var/lib/manticore/t/new_stop6.txt, /var/lib/manticore/t/new_stop7.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram WORDFORMS='/var/lib/manticore/t/new_wordforms3.txt, /var/lib/manticore/t/new_wordforms4.txt, /var/lib/manticore/t/new_wordforms5.txt, /var/lib/manticore/t/new_wordforms6.txt, /var/lib/manticore/t/new_wordforms7.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | stopwords = /var/lib/manticore/t_ram/new_stop3.txt /var/lib/manticore/t_ram/new_stop4.txt /var/lib/manticore/t_ram/new_stop5.txt /var/lib/manticore/t_ram/new_stop6.txt /var/lib/manticore/t_ram/new_stop7.txt
+ | settings | stopwords = /var/lib/manticore/t_ram/stopwords_chunk2_0.txt /var/lib/manticore/t_ram/stopwords_chunk2_1.txt /var/lib/manticore/t_ram/stopwords_chunk2_2.txt /var/lib/manticore/t_ram/stopwords_chunk2_3.txt /var/lib/manticore/t_ram/stopwords_chunk2_4.txt
- wordforms = /var/lib/manticore/t_ram/new_wordforms3.txt /var/lib/manticore/t_ram/new_wordforms4.txt /var/lib/manticore/t_ram/new_wordforms5.txt /var/lib/manticore/t_ram/new_wordforms6.txt /var/lib/manticore/t_ram/new_wordforms7.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk2_0.txt /var/lib/manticore/t_ram/wordforms_chunk2_1.txt /var/lib/manticore/t_ram/wordforms_chunk2_2.txt /var/lib/manticore/t_ram/wordforms_chunk2_3.txt /var/lib/manticore/t_ram/wordforms_chunk2_4.txt
rt_mem_limit = 268435456 |
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_ram'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | stopwords = /var/lib/manticore/t_ram/new_stop3.txt /var/lib/manticore/t_ram/new_stop4.txt /var/lib/manticore/t_ram/new_stop5.txt /var/lib/manticore/t_ram/new_stop6.txt /var/lib/manticore/t_ram/new_stop7.txt
+ | settings | stopwords = /var/lib/manticore/t_ram/stopwords_chunk2_0.txt /var/lib/manticore/t_ram/stopwords_chunk2_1.txt /var/lib/manticore/t_ram/stopwords_chunk2_2.txt /var/lib/manticore/t_ram/stopwords_chunk2_3.txt /var/lib/manticore/t_ram/stopwords_chunk2_4.txt
- wordforms = /var/lib/manticore/t_ram/new_wordforms3.txt /var/lib/manticore/t_ram/new_wordforms4.txt /var/lib/manticore/t_ram/new_wordforms5.txt /var/lib/manticore/t_ram/new_wordforms6.txt /var/lib/manticore/t_ram/new_wordforms7.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk2_0.txt /var/lib/manticore/t_ram/wordforms_chunk2_1.txt /var/lib/manticore/t_ram/wordforms_chunk2_2.txt /var/lib/manticore/t_ram/wordforms_chunk2_3.txt /var/lib/manticore/t_ram/wordforms_chunk2_4.txt
rt_mem_limit = 268435456 |
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
clt👎 CLT tests in test/clt-tests/core/test-external-files-handling.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
echo "z => w" > /var/lib/manticore/wordforms1.txt; echo "x => y" > /var/lib/manticore/wordforms2.txt; echo "c => d" > /var/lib/manticore/exc.txt; echo "abcstop" > /var/lib/manticore/stop1.txt; echo "defstop" > /var/lib/manticore/stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE t_disk (id BIGINT, title TEXT, tag INTEGER) stopwords = 'en, it, /var/lib/manticore/stop1.txt, /var/lib/manticore/stop2.txt' exceptions = '/var/lib/manticore/exc.txt' wordforms = '/var/lib/manticore/wordforms1.txt, /var/lib/manticore/wordforms2.txt,';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_disk (id, title, tag) VALUES (1, 'zxczxc', 77); FLUSH RAMCHUNK t_disk;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_disk (id, title, tag) VALUES (2, 'srthh', 88); FLUSH RAMCHUNK t_disk; OPTIMIZE TABLE t_disk OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_disk (id, title, tag) VALUES (3, 'srthgrth', 99); FLUSH RAMCHUNK t_disk; OPTIMIZE TABLE t_disk OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES; SELECT * FROM t_disk; SHOW CREATE TABLE t_disk;"
––– output –––
+--------+------+
| Index | Type |
+--------+------+
| t_disk | rt |
+--------+------+
+------+----------+------+
| id | title | tag |
+------+----------+------+
| 1 | zxczxc | 77 |
| 2 | srthh | 88 |
| 3 | srthgrth | 99 |
+------+----------+------+
- +--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Table | Create Table |
+ | Table | Create Table |
- +--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| t_disk | CREATE TABLE t_disk (
id bigint,
title text,
tag integer
- ) exceptions='/var/lib/manticore/t_disk/exc.txt' stopwords='/var/lib/manticore/t_disk/en /var/lib/manticore/t_disk/it /var/lib/manticore/t_disk/stop1.txt /var/lib/manticore/t_disk/stop2.txt' wordforms='/var/lib/manticore/t_disk/wordforms1.txt /var/lib/manticore/t_disk/wordforms2.txt' |
+ ) exceptions='/var/lib/manticore/t_disk/exceptions_chunk0_0.txt' stopwords='/var/lib/manticore/t_disk/stopwords_chunk0_0.txt /var/lib/manticore/t_disk/stopwords_chunk0_1.txt /var/lib/manticore/t_disk/stopwords_chunk0_2.txt /var/lib/manticore/t_disk/stopwords_chunk0_3.txt' wordforms='/var/lib/manticore/t_disk/wordforms_chunk0_0.txt /var/lib/manticore/t_disk/wordforms_chunk0_1.txt' |
- +--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE t_disk STATUS LIKE 'disk_chunks';"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| disk_chunks | 1 |
+---------------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_disk/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_disk/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_disk/en /var/lib/manticore/t_disk/it /var/lib/manticore/t_disk/stop1.txt /var/lib/manticore/t_disk/stop2.txt
+ stopwords = /var/lib/manticore/t_disk/stopwords_chunk0_0.txt /var/lib/manticore/t_disk/stopwords_chunk0_1.txt /var/lib/manticore/t_disk/stopwords_chunk0_2.txt /var/lib/manticore/t_disk/stopwords_chunk0_3.txt
- wordforms = /var/lib/manticore/t_disk/wordforms1.txt /var/lib/manticore/t_disk/wordforms2.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk0_0.txt /var/lib/manticore/t_disk/wordforms_chunk0_1.txt |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_disk'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_disk/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_disk/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_disk/en /var/lib/manticore/t_disk/it /var/lib/manticore/t_disk/stop1.txt /var/lib/manticore/t_disk/stop2.txt
+ stopwords = /var/lib/manticore/t_disk/stopwords_chunk0_0.txt /var/lib/manticore/t_disk/stopwords_chunk0_1.txt /var/lib/manticore/t_disk/stopwords_chunk0_2.txt /var/lib/manticore/t_disk/stopwords_chunk0_3.txt
- wordforms = /var/lib/manticore/t_disk/wordforms1.txt /var/lib/manticore/t_disk/wordforms2.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk0_0.txt /var/lib/manticore/t_disk/wordforms_chunk0_1.txt |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mkdir -p /var/lib/manticore/t/ && echo "x => z" > /var/lib/manticore/t/new_exc.txt && echo "apple => orange" > /var/lib/manticore/t/new_wordforms1.txt && echo "banana => pear" > /var/lib/manticore/t/new_wordforms2.txt && echo "newstop1" > /var/lib/manticore/t/new_stop1.txt && echo "newstop2" > /var/lib/manticore/t/new_stop2.txt
––– output –––
––– input –––
echo "x => z" > /var/lib/manticore/t/new_exc.txt
––– output –––
––– input –––
echo "apple => orange" > /var/lib/manticore/t/new_wordforms1.txt
––– output –––
––– input –––
echo "banana => pear" > /var/lib/manticore/t/new_wordforms2.txt
––– output –––
––– input –––
echo "newstop1" > /var/lib/manticore/t/new_stop1.txt
––– output –––
––– input –––
echo "newstop2" > /var/lib/manticore/t/new_stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk STOPWORDS='/var/lib/manticore/t/new_stop1.txt, /var/lib/manticore/t/new_stop2.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk EXCEPTIONS='/var/lib/manticore/t/new_exc.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk WORDFORMS='/var/lib/manticore/t/new_wordforms1.txt, /var/lib/manticore/t/new_wordforms2.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_disk/new_exc.txt
+ | settings | exceptions = /var/lib/manticore/t_disk/exceptions_chunk4_0.txt
- stopwords = /var/lib/manticore/t_disk/new_stop1.txt /var/lib/manticore/t_disk/new_stop2.txt
+ stopwords = /var/lib/manticore/t_disk/stopwords_chunk4_0.txt /var/lib/manticore/t_disk/stopwords_chunk4_1.txt
- wordforms = /var/lib/manticore/t_disk/new_wordforms1.txt /var/lib/manticore/t_disk/new_wordforms2.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk4_0.txt /var/lib/manticore/t_disk/wordforms_chunk4_1.txt |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk STOPWORDS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk EXCEPTIONS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk WORDFORMS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| settings | |
+---------------+-------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_disk'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| settings | |
+---------------+-------+
––– input –––
echo "newstop3" > /var/lib/manticore/t/new_stop3.txt && echo "newstop4" > /var/lib/manticore/t/new_stop4.txt && echo "newstop5" > /var/lib/manticore/t/new_stop5.txt && echo "newstop6" > /var/lib/manticore/t/new_stop6.txt && echo "newstop7" > /var/lib/manticore/t/new_stop7.txt
––– output –––
––– input –––
echo "word1 => replacement1" > /var/lib/manticore/t/new_wordforms3.txt && echo "word2 => replacement2" > /var/lib/manticore/t/new_wordforms4.txt && echo "word3 => replacement3" > /var/lib/manticore/t/new_wordforms5.txt && echo "word4 => replacement4" > /var/lib/manticore/t/new_wordforms6.txt && echo "word5 => replacement5" > /var/lib/manticore/t/new_wordforms7.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk STOPWORDS='/var/lib/manticore/t/new_stop3.txt, /var/lib/manticore/t/new_stop4.txt, /var/lib/manticore/t/new_stop5.txt, /var/lib/manticore/t/new_stop6.txt, /var/lib/manticore/t/new_stop7.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_disk WORDFORMS='/var/lib/manticore/t/new_wordforms3.txt, /var/lib/manticore/t/new_wordforms4.txt, /var/lib/manticore/t/new_wordforms5.txt, /var/lib/manticore/t/new_wordforms6.txt, /var/lib/manticore/t/new_wordforms7.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | stopwords = /var/lib/manticore/t_disk/new_stop3.txt /var/lib/manticore/t_disk/new_stop4.txt /var/lib/manticore/t_disk/new_stop5.txt /var/lib/manticore/t_disk/new_stop6.txt /var/lib/manticore/t_disk/new_stop7.txt
+ | settings | stopwords = /var/lib/manticore/t_disk/stopwords_chunk4_0.txt /var/lib/manticore/t_disk/stopwords_chunk4_1.txt /var/lib/manticore/t_disk/stopwords_chunk4_2.txt /var/lib/manticore/t_disk/stopwords_chunk4_3.txt /var/lib/manticore/t_disk/stopwords_chunk4_4.txt
- wordforms = /var/lib/manticore/t_disk/new_wordforms3.txt /var/lib/manticore/t_disk/new_wordforms4.txt /var/lib/manticore/t_disk/new_wordforms5.txt /var/lib/manticore/t_disk/new_wordforms6.txt /var/lib/manticore/t_disk/new_wordforms7.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk4_0.txt /var/lib/manticore/t_disk/wordforms_chunk4_1.txt /var/lib/manticore/t_disk/wordforms_chunk4_2.txt /var/lib/manticore/t_disk/wordforms_chunk4_3.txt /var/lib/manticore/t_disk/wordforms_chunk4_4.txt |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_disk'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_disk SETTINGS;"
––– output –––
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | stopwords = /var/lib/manticore/t_disk/new_stop3.txt /var/lib/manticore/t_disk/new_stop4.txt /var/lib/manticore/t_disk/new_stop5.txt /var/lib/manticore/t_disk/new_stop6.txt /var/lib/manticore/t_disk/new_stop7.txt
+ | settings | stopwords = /var/lib/manticore/t_disk/stopwords_chunk4_0.txt /var/lib/manticore/t_disk/stopwords_chunk4_1.txt /var/lib/manticore/t_disk/stopwords_chunk4_2.txt /var/lib/manticore/t_disk/stopwords_chunk4_3.txt /var/lib/manticore/t_disk/stopwords_chunk4_4.txt
- wordforms = /var/lib/manticore/t_disk/new_wordforms3.txt /var/lib/manticore/t_disk/new_wordforms4.txt /var/lib/manticore/t_disk/new_wordforms5.txt /var/lib/manticore/t_disk/new_wordforms6.txt /var/lib/manticore/t_disk/new_wordforms7.txt |
+ wordforms = /var/lib/manticore/t_disk/wordforms_chunk4_0.txt /var/lib/manticore/t_disk/wordforms_chunk4_1.txt /var/lib/manticore/t_disk/wordforms_chunk4_2.txt /var/lib/manticore/t_disk/wordforms_chunk4_3.txt /var/lib/manticore/t_disk/wordforms_chunk4_4.txt |
- +---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
test/clt-tests/core/test-import-table.rec––– input –––
mkdir /tmp/import-table/
––– output –––
––– input –––
echo "a > b" > /tmp/import-table/wordforms1.txt; echo "c > d" > /tmp/import-table/exc.txt; echo "abcstop" > /tmp/import-table/stop.txt
––– output –––
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test (id INT) exceptions='/tmp/import-table/exc.txt' wordforms='/tmp/import-table/wordforms1.txt' stopwords='/tmp/import-table/stop.txt'; INSERT INTO test(id) VALUES(1);"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: exceptions = /var/lib/manticore/test/exc.txt
+ Value: exceptions = /var/lib/manticore/test/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/test/stop.txt
+ stopwords = /var/lib/manticore/test/stopwords_chunk0_0.txt
- wordforms = /var/lib/manticore/test/wordforms1.txt
+ wordforms = /var/lib/manticore/test/wordforms_chunk0_0.txt
––– input –––
mysql -h0 -P9306 -e "import table test2 from '/var/lib/manticore/test/test'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test2 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test2/exceptions.txt
stopwords = /var/lib/manticore/test2/stopwords_0.txt
wordforms = /var/lib/manticore/test2/wordforms_0.txt
––– input –––
mysql -h0 -P9306 -e "import table test3 from '/var/lib/manticore/test2/test2'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test3/exceptions.txt
stopwords = /var/lib/manticore/test3/stopwords_0.txt
wordforms = /var/lib/manticore/test3/wordforms_0.txt
––– input –––
mysql -h0 -P9306 -e "CALL keywords('a 123', 'test2');"
––– output –––
+------+-----------+------------+
| qpos | tokenized | normalized |
+------+-----------+------------+
| 1 | a | b |
| 2 | 123 | 123 |
+------+-----------+------------+
––– input –––
mysql -h0 -P9306 -e "CALL keywords('a 123', 'test3');"
––– output –––
+------+-----------+------------+
| qpos | tokenized | normalized |
+------+-----------+------------+
| 1 | a | b |
| 2 | 123 | 123 |
+------+-----------+------------+
––– input –––
mysql -h0 -P9306 -e "import table test-5 from '/var/lib/manticore/test2/test2'"
––– output –––
ERROR 1064 (42000) at line 1: P03: syntax error, unexpected $undefined, expecting FROM near '-5 from '/var/lib/manticore/test2/test2''
––– input –––
mysql -h0 -P9306 -e "import table test_5 from '/var/lib/manticore/test2/test2'"
––– output –––
––– input –––
mysql -h0 -P9306 -e "import table test4 from '/var/lib/manticore/test101/test101'"
––– output –––
ERROR 1064 (42000) at line 1: unable to import table 'test4': no table files found
––– input –––
for i in {2..100}; do prev_table="test$((i-1))"; new_table="test${i}"; import_path="/var/lib/manticore/${prev_table}/${prev_table}"; mysql -h0 -P9306 -e "import table ${new_table} from '${import_path}'"; mysql -h0 -P9306 -e "SHOW TABLE ${new_table} SETTINGS\G"; done
––– output –––
ERROR 1064 (42000) at line 1: table 'test2' already exists
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test2/exceptions.txt
stopwords = /var/lib/manticore/test2/stopwords_0.txt
wordforms = /var/lib/manticore/test2/wordforms_0.txt
ERROR 1064 (42000) at line 1: table 'test3' already exists
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test3/exceptions.txt
stopwords = /var/lib/manticore/test3/stopwords_0.txt
wordforms = /var/lib/manticore/test3/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test4/exceptions.txt
stopwords = /var/lib/manticore/test4/stopwords_0.txt
wordforms = /var/lib/manticore/test4/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test5/exceptions.txt
stopwords = /var/lib/manticore/test5/stopwords_0.txt
wordforms = /var/lib/manticore/test5/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test6/exceptions.txt
stopwords = /var/lib/manticore/test6/stopwords_0.txt
wordforms = /var/lib/manticore/test6/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test7/exceptions.txt
stopwords = /var/lib/manticore/test7/stopwords_0.txt
wordforms = /var/lib/manticore/test7/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test8/exceptions.txt
stopwords = /var/lib/manticore/test8/stopwords_0.txt
wordforms = /var/lib/manticore/test8/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test9/exceptions.txt
stopwords = /var/lib/manticore/test9/stopwords_0.txt
wordforms = /var/lib/manticore/test9/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test10/exceptions.txt
stopwords = /var/lib/manticore/test10/stopwords_0.txt
wordforms = /var/lib/manticore/test10/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test11/exceptions.txt
stopwords = /var/lib/manticore/test11/stopwords_0.txt
wordforms = /var/lib/manticore/test11/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test12/exceptions.txt
stopwords = /var/lib/manticore/test12/stopwords_0.txt
wordforms = /var/lib/manticore/test12/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test13/exceptions.txt
stopwords = /var/lib/manticore/test13/stopwords_0.txt
wordforms = /var/lib/manticore/test13/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test14/exceptions.txt
stopwords = /var/lib/manticore/test14/stopwords_0.txt
wordforms = /var/lib/manticore/test14/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test15/exceptions.txt
stopwords = /var/lib/manticore/test15/stopwords_0.txt
wordforms = /var/lib/manticore/test15/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test16/exceptions.txt
stopwords = /var/lib/manticore/test16/stopwords_0.txt
wordforms = /var/lib/manticore/test16/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test17/exceptions.txt
stopwords = /var/lib/manticore/test17/stopwords_0.txt
wordforms = /var/lib/manticore/test17/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test18/exceptions.txt
stopwords = /var/lib/manticore/test18/stopwords_0.txt
wordforms = /var/lib/manticore/test18/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test19/exceptions.txt
stopwords = /var/lib/manticore/test19/stopwords_0.txt
wordforms = /var/lib/manticore/test19/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test20/exceptions.txt
stopwords = /var/lib/manticore/test20/stopwords_0.txt
wordforms = /var/lib/manticore/test20/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test21/exceptions.txt
stopwords = /var/lib/manticore/test21/stopwords_0.txt
wordforms = /var/lib/manticore/test21/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test22/exceptions.txt
stopwords = /var/lib/manticore/test22/stopwords_0.txt
wordforms = /var/lib/manticore/test22/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test23/exceptions.txt
stopwords = /var/lib/manticore/test23/stopwords_0.txt
wordforms = /var/lib/manticore/test23/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test24/exceptions.txt
stopwords = /var/lib/manticore/test24/stopwords_0.txt
wordforms = /var/lib/manticore/test24/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test25/exceptions.txt
stopwords = /var/lib/manticore/test25/stopwords_0.txt
wordforms = /var/lib/manticore/test25/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test26/exceptions.txt
stopwords = /var/lib/manticore/test26/stopwords_0.txt
wordforms = /var/lib/manticore/test26/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test27/exceptions.txt
stopwords = /var/lib/manticore/test27/stopwords_0.txt
wordforms = /var/lib/manticore/test27/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test28/exceptions.txt
stopwords = /var/lib/manticore/test28/stopwords_0.txt
wordforms = /var/lib/manticore/test28/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test29/exceptions.txt
stopwords = /var/lib/manticore/test29/stopwords_0.txt
wordforms = /var/lib/manticore/test29/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test30/exceptions.txt
stopwords = /var/lib/manticore/test30/stopwords_0.txt
wordforms = /var/lib/manticore/test30/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test31/exceptions.txt
stopwords = /var/lib/manticore/test31/stopwords_0.txt
wordforms = /var/lib/manticore/test31/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test32/exceptions.txt
stopwords = /var/lib/manticore/test32/stopwords_0.txt
wordforms = /var/lib/manticore/test32/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test33/exceptions.txt
stopwords = /var/lib/manticore/test33/stopwords_0.txt
wordforms = /var/lib/manticore/test33/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test34/exceptions.txt
stopwords = /var/lib/manticore/test34/stopwords_0.txt
wordforms = /var/lib/manticore/test34/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test35/exceptions.txt
stopwords = /var/lib/manticore/test35/stopwords_0.txt
wordforms = /var/lib/manticore/test35/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test36/exceptions.txt
stopwords = /var/lib/manticore/test36/stopwords_0.txt
wordforms = /var/lib/manticore/test36/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test37/exceptions.txt
stopwords = /var/lib/manticore/test37/stopwords_0.txt
wordforms = /var/lib/manticore/test37/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test38/exceptions.txt
stopwords = /var/lib/manticore/test38/stopwords_0.txt
wordforms = /var/lib/manticore/test38/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test39/exceptions.txt
stopwords = /var/lib/manticore/test39/stopwords_0.txt
wordforms = /var/lib/manticore/test39/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test40/exceptions.txt
stopwords = /var/lib/manticore/test40/stopwords_0.txt
wordforms = /var/lib/manticore/test40/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test41/exceptions.txt
stopwords = /var/lib/manticore/test41/stopwords_0.txt
wordforms = /var/lib/manticore/test41/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test42/exceptions.txt
stopwords = /var/lib/manticore/test42/stopwords_0.txt
wordforms = /var/lib/manticore/test42/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test43/exceptions.txt
stopwords = /var/lib/manticore/test43/stopwords_0.txt
wordforms = /var/lib/manticore/test43/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test44/exceptions.txt
stopwords = /var/lib/manticore/test44/stopwords_0.txt
wordforms = /var/lib/manticore/test44/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test45/exceptions.txt
stopwords = /var/lib/manticore/test45/stopwords_0.txt
wordforms = /var/lib/manticore/test45/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test46/exceptions.txt
stopwords = /var/lib/manticore/test46/stopwords_0.txt
wordforms = /var/lib/manticore/test46/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test47/exceptions.txt
stopwords = /var/lib/manticore/test47/stopwords_0.txt
wordforms = /var/lib/manticore/test47/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test48/exceptions.txt
stopwords = /var/lib/manticore/test48/stopwords_0.txt
wordforms = /var/lib/manticore/test48/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test49/exceptions.txt
stopwords = /var/lib/manticore/test49/stopwords_0.txt
wordforms = /var/lib/manticore/test49/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test50/exceptions.txt
stopwords = /var/lib/manticore/test50/stopwords_0.txt
wordforms = /var/lib/manticore/test50/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test51/exceptions.txt
stopwords = /var/lib/manticore/test51/stopwords_0.txt
wordforms = /var/lib/manticore/test51/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test52/exceptions.txt
stopwords = /var/lib/manticore/test52/stopwords_0.txt
wordforms = /var/lib/manticore/test52/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test53/exceptions.txt
stopwords = /var/lib/manticore/test53/stopwords_0.txt
wordforms = /var/lib/manticore/test53/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test54/exceptions.txt
stopwords = /var/lib/manticore/test54/stopwords_0.txt
wordforms = /var/lib/manticore/test54/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test55/exceptions.txt
stopwords = /var/lib/manticore/test55/stopwords_0.txt
wordforms = /var/lib/manticore/test55/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test56/exceptions.txt
stopwords = /var/lib/manticore/test56/stopwords_0.txt
wordforms = /var/lib/manticore/test56/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test57/exceptions.txt
stopwords = /var/lib/manticore/test57/stopwords_0.txt
wordforms = /var/lib/manticore/test57/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test58/exceptions.txt
stopwords = /var/lib/manticore/test58/stopwords_0.txt
wordforms = /var/lib/manticore/test58/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test59/exceptions.txt
stopwords = /var/lib/manticore/test59/stopwords_0.txt
wordforms = /var/lib/manticore/test59/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test60/exceptions.txt
stopwords = /var/lib/manticore/test60/stopwords_0.txt
wordforms = /var/lib/manticore/test60/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test61/exceptions.txt
stopwords = /var/lib/manticore/test61/stopwords_0.txt
wordforms = /var/lib/manticore/test61/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test62/exceptions.txt
stopwords = /var/lib/manticore/test62/stopwords_0.txt
wordforms = /var/lib/manticore/test62/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test63/exceptions.txt
stopwords = /var/lib/manticore/test63/stopwords_0.txt
wordforms = /var/lib/manticore/test63/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test64/exceptions.txt
stopwords = /var/lib/manticore/test64/stopwords_0.txt
wordforms = /var/lib/manticore/test64/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test65/exceptions.txt
stopwords = /var/lib/manticore/test65/stopwords_0.txt
wordforms = /var/lib/manticore/test65/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test66/exceptions.txt
stopwords = /var/lib/manticore/test66/stopwords_0.txt
wordforms = /var/lib/manticore/test66/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test67/exceptions.txt
stopwords = /var/lib/manticore/test67/stopwords_0.txt
wordforms = /var/lib/manticore/test67/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test68/exceptions.txt
stopwords = /var/lib/manticore/test68/stopwords_0.txt
wordforms = /var/lib/manticore/test68/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test69/exceptions.txt
stopwords = /var/lib/manticore/test69/stopwords_0.txt
wordforms = /var/lib/manticore/test69/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test70/exceptions.txt
stopwords = /var/lib/manticore/test70/stopwords_0.txt
wordforms = /var/lib/manticore/test70/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test71/exceptions.txt
stopwords = /var/lib/manticore/test71/stopwords_0.txt
wordforms = /var/lib/manticore/test71/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test72/exceptions.txt
stopwords = /var/lib/manticore/test72/stopwords_0.txt
wordforms = /var/lib/manticore/test72/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test73/exceptions.txt
stopwords = /var/lib/manticore/test73/stopwords_0.txt
wordforms = /var/lib/manticore/test73/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test74/exceptions.txt
stopwords = /var/lib/manticore/test74/stopwords_0.txt
wordforms = /var/lib/manticore/test74/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test75/exceptions.txt
stopwords = /var/lib/manticore/test75/stopwords_0.txt
wordforms = /var/lib/manticore/test75/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test76/exceptions.txt
stopwords = /var/lib/manticore/test76/stopwords_0.txt
wordforms = /var/lib/manticore/test76/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test77/exceptions.txt
stopwords = /var/lib/manticore/test77/stopwords_0.txt
wordforms = /var/lib/manticore/test77/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test78/exceptions.txt
stopwords = /var/lib/manticore/test78/stopwords_0.txt
wordforms = /var/lib/manticore/test78/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test79/exceptions.txt
stopwords = /var/lib/manticore/test79/stopwords_0.txt
wordforms = /var/lib/manticore/test79/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test80/exceptions.txt
stopwords = /var/lib/manticore/test80/stopwords_0.txt
wordforms = /var/lib/manticore/test80/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test81/exceptions.txt
stopwords = /var/lib/manticore/test81/stopwords_0.txt
wordforms = /var/lib/manticore/test81/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test82/exceptions.txt
stopwords = /var/lib/manticore/test82/stopwords_0.txt
wordforms = /var/lib/manticore/test82/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test83/exceptions.txt
stopwords = /var/lib/manticore/test83/stopwords_0.txt
wordforms = /var/lib/manticore/test83/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test84/exceptions.txt
stopwords = /var/lib/manticore/test84/stopwords_0.txt
wordforms = /var/lib/manticore/test84/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test85/exceptions.txt
stopwords = /var/lib/manticore/test85/stopwords_0.txt
wordforms = /var/lib/manticore/test85/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test86/exceptions.txt
stopwords = /var/lib/manticore/test86/stopwords_0.txt
wordforms = /var/lib/manticore/test86/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test87/exceptions.txt
stopwords = /var/lib/manticore/test87/stopwords_0.txt
wordforms = /var/lib/manticore/test87/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test88/exceptions.txt
stopwords = /var/lib/manticore/test88/stopwords_0.txt
wordforms = /var/lib/manticore/test88/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test89/exceptions.txt
stopwords = /var/lib/manticore/test89/stopwords_0.txt
wordforms = /var/lib/manticore/test89/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test90/exceptions.txt
stopwords = /var/lib/manticore/test90/stopwords_0.txt
wordforms = /var/lib/manticore/test90/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test91/exceptions.txt
stopwords = /var/lib/manticore/test91/stopwords_0.txt
wordforms = /var/lib/manticore/test91/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test92/exceptions.txt
stopwords = /var/lib/manticore/test92/stopwords_0.txt
wordforms = /var/lib/manticore/test92/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test93/exceptions.txt
stopwords = /var/lib/manticore/test93/stopwords_0.txt
wordforms = /var/lib/manticore/test93/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test94/exceptions.txt
stopwords = /var/lib/manticore/test94/stopwords_0.txt
wordforms = /var/lib/manticore/test94/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test95/exceptions.txt
stopwords = /var/lib/manticore/test95/stopwords_0.txt
wordforms = /var/lib/manticore/test95/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test96/exceptions.txt
stopwords = /var/lib/manticore/test96/stopwords_0.txt
wordforms = /var/lib/manticore/test96/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test97/exceptions.txt
stopwords = /var/lib/manticore/test97/stopwords_0.txt
wordforms = /var/lib/manticore/test97/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test98/exceptions.txt
stopwords = /var/lib/manticore/test98/stopwords_0.txt
wordforms = /var/lib/manticore/test98/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test99/exceptions.txt
stopwords = /var/lib/manticore/test99/stopwords_0.txt
wordforms = /var/lib/manticore/test99/wordforms_0.txt
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /var/lib/manticore/test100/exceptions.txt
stopwords = /var/lib/manticore/test100/stopwords_0.txt
wordforms = /var/lib/manticore/test100/wordforms_0.txt
test/clt-tests/core/test-alter-table.rec––– input –––
rm -rf /var/lib/manticore
––– output –––
––– input –––
mkdir /tmp/test-alter/
––– output –––
––– input –––
ln -s /tmp/test-alter/ /var/lib/manticore
––– output –––
––– input –––
echo "a > b" > /tmp/test-alter/wordforms1.txt; echo "c > d" > /tmp/test-alter/exc.txt; echo "abcstop" > /tmp/test-alter/stop.txt
––– output –––
––– input –––
ls -1 /var/lib/manticore/
––– output –––
exc.txt
stop.txt
wordforms1.txt
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test3 (title TEXT, tag INTEGER) exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt' stopwords='/var/lib/manticore/stop.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: exceptions = /tmp/test-alter/test3/exc.txt
+ Value: exceptions = /tmp/test-alter/test3/exceptions_chunk0_0.txt
- stopwords = /tmp/test-alter/test3/stop.txt
+ stopwords = /tmp/test-alter/test3/stopwords_chunk0_0.txt
- wordforms = /tmp/test-alter/test3/wordforms1.txt
+ wordforms = /tmp/test-alter/test3/wordforms_chunk0_0.txt
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE test3 exceptions = ''"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
- Value: stopwords = /tmp/test-alter/test3/stop.txt
+ Value: stopwords = /tmp/test-alter/test3/stopwords_chunk0_0.txt
- wordforms = /tmp/test-alter/test3/wordforms1.txt
+ wordforms = /tmp/test-alter/test3/wordforms_chunk0_0.txt
test/clt-tests/core/test-external-files-handling-negative.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
echo "z => w" > /var/lib/manticore/wordforms1.txt; echo "z => w" > /var/lib/manticore/wordforms2.txt; echo "a => b" > /var/lib/manticore/wordforms3.txt; echo "c => d" > /var/lib/manticore/exc.txt; echo "z" > /var/lib/manticore/stop1.txt; echo "defstop" > /var/lib/manticore/stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE t_ram (id BIGINT, title TEXT, tag INTEGER) stopwords='/var/lib/manticore/stop1.txt, /var/lib/manticore/stop2.txt' exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt, /var/lib/manticore/wordforms2.txt, /var/lib/manticore/wordforms3.txt' rt_mem_limit='256M';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (1, 'zxczxc', 77); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (2, 'srthh', 88); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (3, 'srthgrth', 99); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES; SELECT * FROM t_ram; SHOW CREATE TABLE t_ram;"
––– output –––
+-------+------+
| Index | Type |
+-------+------+
| t_ram | rt |
+-------+------+
+------+----------+------+
| id | title | tag |
+------+----------+------+
| 2 | srthh | 88 |
| 1 | zxczxc | 77 |
| 3 | srthgrth | 99 |
+------+----------+------+
- +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Table | Create Table |
+ | Table | Create Table |
- +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| t_ram | CREATE TABLE t_ram (
id bigint,
title text,
tag integer
- ) exceptions='/var/lib/manticore/t_ram/exc.txt' stopwords='/var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt' wordforms='/var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt /var/lib/manticore/t_ram/wordforms3.txt' rt_mem_limit='268435456' |
+ ) exceptions='/var/lib/manticore/t_ram/exceptions_chunk0_0.txt' stopwords='/var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt' wordforms='/var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt /var/lib/manticore/t_ram/wordforms_chunk0_2.txt' rt_mem_limit='268435456' |
- +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE t_ram STATUS LIKE 'disk_chunks';"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| disk_chunks | 3 |
+---------------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_ram/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_ram/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt
+ stopwords = /var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt
- wordforms = /var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt /var/lib/manticore/t_ram/wordforms3.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt /var/lib/manticore/t_ram/wordforms_chunk0_2.txt
rt_mem_limit = 268435456 |
- +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_ram'
- WARNING: table 't_ram': all source tokens are stopwords (wordform='z => w', file='/var/lib/manticore/t_ram/wordforms1.txt'). IGNORED.
+ WARNING: table 't_ram': all wordform source tokens are stopwords (wordform='z => w', file='/var/lib/manticore/t_ram/wordforms_chunk0_0.txt'). IGNORED.
- WARNING: table 't_ram': all source tokens are stopwords (wordform='z => w', file='/var/lib/manticore/t_ram/wordforms2.txt'). IGNORED.
+ WARNING: table 't_ram': all wordform source tokens are stopwords (wordform='z => w', file='/var/lib/manticore/t_ram/wordforms_chunk0_1.txt'). IGNORED.
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
test/clt-tests/core/test-external-files-handling-ramchunk.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
echo "z => w" > /var/lib/manticore/wordforms1.txt; echo "x => y" > /var/lib/manticore/wordforms2.txt; echo "c => d" > /var/lib/manticore/exc.txt; echo "abcstop" > /var/lib/manticore/stop1.txt; echo "defstop" > /var/lib/manticore/stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE t_ram (id BIGINT, title TEXT, tag INTEGER) stopwords = 'en, it, /var/lib/manticore/stop1.txt, /var/lib/manticore/stop2.txt' exceptions = '/var/lib/manticore/exc.txt' wordforms = '/var/lib/manticore/wordforms1.txt, /var/lib/manticore/wordforms2.txt' rt_mem_limit = '256M';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (1, 'zxczxc', 77); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (2, 'srthh', 88); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t_ram (id, title, tag) VALUES (3, 'srthgrth', 99); FLUSH RAMCHUNK t_ram;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES; SELECT * FROM t_ram; SHOW CREATE TABLE t_ram;"
––– output –––
+-------+------+
| Index | Type |
+-------+------+
| t_ram | rt |
+-------+------+
+------+----------+------+
| id | title | tag |
+------+----------+------+
| 2 | srthh | 88 |
| 1 | zxczxc | 77 |
| 3 | srthgrth | 99 |
+------+----------+------+
- +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Table | Create Table |
+ | Table | Create Table |
- +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| t_ram | CREATE TABLE t_ram (
id bigint,
title text,
tag integer
- ) exceptions='/var/lib/manticore/t_ram/exc.txt' stopwords='/var/lib/manticore/t_ram/en /var/lib/manticore/t_ram/it /var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt' wordforms='/var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt' rt_mem_limit='268435456' |
+ ) exceptions='/var/lib/manticore/t_ram/exceptions_chunk0_0.txt' stopwords='/var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt /var/lib/manticore/t_ram/stopwords_chunk0_2.txt /var/lib/manticore/t_ram/stopwords_chunk0_3.txt' wordforms='/var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt' rt_mem_limit='268435456' |
- +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE t_ram STATUS LIKE 'disk_chunks';"
––– output –––
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| disk_chunks | 3 |
+---------------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_ram/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_ram/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_ram/en /var/lib/manticore/t_ram/it /var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt
+ stopwords = /var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt /var/lib/manticore/t_ram/stopwords_chunk0_2.txt /var/lib/manticore/t_ram/stopwords_chunk0_3.txt
- wordforms = /var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt
rt_mem_limit = 268435456 |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_ram'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_ram/exc.txt
+ | settings | exceptions = /var/lib/manticore/t_ram/exceptions_chunk0_0.txt
- stopwords = /var/lib/manticore/t_ram/en /var/lib/manticore/t_ram/it /var/lib/manticore/t_ram/stop1.txt /var/lib/manticore/t_ram/stop2.txt
+ stopwords = /var/lib/manticore/t_ram/stopwords_chunk0_0.txt /var/lib/manticore/t_ram/stopwords_chunk0_1.txt /var/lib/manticore/t_ram/stopwords_chunk0_2.txt /var/lib/manticore/t_ram/stopwords_chunk0_3.txt
- wordforms = /var/lib/manticore/t_ram/wordforms1.txt /var/lib/manticore/t_ram/wordforms2.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk0_0.txt /var/lib/manticore/t_ram/wordforms_chunk0_1.txt
rt_mem_limit = 268435456 |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mkdir -p /var/lib/manticore/t/ && echo "x => z" > /var/lib/manticore/t/new_exc.txt && echo "apple => orange" > /var/lib/manticore/t/new_wordforms1.txt && echo "banana => pear" > /var/lib/manticore/t/new_wordforms2.txt && echo "newstop1" > /var/lib/manticore/t/new_stop1.txt && echo "newstop2" > /var/lib/manticore/t/new_stop2.txt
––– output –––
––– input –––
echo "x => z" > /var/lib/manticore/t/new_exc.txt
––– output –––
––– input –––
echo "apple => orange" > /var/lib/manticore/t/new_wordforms1.txt
––– output –––
––– input –––
echo "banana => pear" > /var/lib/manticore/t/new_wordforms2.txt
––– output –––
––– input –––
echo "newstop1" > /var/lib/manticore/t/new_stop1.txt
––– output –––
––– input –––
echo "newstop2" > /var/lib/manticore/t/new_stop2.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram STOPWORDS='/var/lib/manticore/t/new_stop1.txt, /var/lib/manticore/t/new_stop2.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram EXCEPTIONS='/var/lib/manticore/t/new_exc.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram WORDFORMS='/var/lib/manticore/t/new_wordforms1.txt, /var/lib/manticore/t/new_wordforms2.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | exceptions = /var/lib/manticore/t_ram/new_exc.txt
+ | settings | exceptions = /var/lib/manticore/t_ram/exceptions_chunk2_0.txt
- stopwords = /var/lib/manticore/t_ram/new_stop1.txt /var/lib/manticore/t_ram/new_stop2.txt
+ stopwords = /var/lib/manticore/t_ram/stopwords_chunk2_0.txt /var/lib/manticore/t_ram/stopwords_chunk2_1.txt
- wordforms = /var/lib/manticore/t_ram/new_wordforms1.txt /var/lib/manticore/t_ram/new_wordforms2.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk2_0.txt /var/lib/manticore/t_ram/wordforms_chunk2_1.txt
rt_mem_limit = 268435456 |
- +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram STOPWORDS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram EXCEPTIONS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram WORDFORMS='';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
+---------------+--------------------------+
| Variable_name | Value |
+---------------+--------------------------+
| settings | rt_mem_limit = 268435456 |
+---------------+--------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_ram'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
+---------------+--------------------------+
| Variable_name | Value |
+---------------+--------------------------+
| settings | rt_mem_limit = 268435456 |
+---------------+--------------------------+
––– input –––
echo "newstop3" > /var/lib/manticore/t/new_stop3.txt && echo "newstop4" > /var/lib/manticore/t/new_stop4.txt && echo "newstop5" > /var/lib/manticore/t/new_stop5.txt && echo "newstop6" > /var/lib/manticore/t/new_stop6.txt && echo "newstop7" > /var/lib/manticore/t/new_stop7.txt
––– output –––
––– input –––
echo "word1 => replacement1" > /var/lib/manticore/t/new_wordforms3.txt && echo "word2 => replacement2" > /var/lib/manticore/t/new_wordforms4.txt && echo "word3 => replacement3" > /var/lib/manticore/t/new_wordforms5.txt && echo "word4 => replacement4" > /var/lib/manticore/t/new_wordforms6.txt && echo "word5 => replacement5" > /var/lib/manticore/t/new_wordforms7.txt
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram STOPWORDS='/var/lib/manticore/t/new_stop3.txt, /var/lib/manticore/t/new_stop4.txt, /var/lib/manticore/t/new_stop5.txt, /var/lib/manticore/t/new_stop6.txt, /var/lib/manticore/t/new_stop7.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE t_ram WORDFORMS='/var/lib/manticore/t/new_wordforms3.txt, /var/lib/manticore/t/new_wordforms4.txt, /var/lib/manticore/t/new_wordforms5.txt, /var/lib/manticore/t/new_wordforms6.txt, /var/lib/manticore/t/new_wordforms7.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | stopwords = /var/lib/manticore/t_ram/new_stop3.txt /var/lib/manticore/t_ram/new_stop4.txt /var/lib/manticore/t_ram/new_stop5.txt /var/lib/manticore/t_ram/new_stop6.txt /var/lib/manticore/t_ram/new_stop7.txt
+ | settings | stopwords = /var/lib/manticore/t_ram/stopwords_chunk2_0.txt /var/lib/manticore/t_ram/stopwords_chunk2_1.txt /var/lib/manticore/t_ram/stopwords_chunk2_2.txt /var/lib/manticore/t_ram/stopwords_chunk2_3.txt /var/lib/manticore/t_ram/stopwords_chunk2_4.txt
- wordforms = /var/lib/manticore/t_ram/new_wordforms3.txt /var/lib/manticore/t_ram/new_wordforms4.txt /var/lib/manticore/t_ram/new_wordforms5.txt /var/lib/manticore/t_ram/new_wordforms6.txt /var/lib/manticore/t_ram/new_wordforms7.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk2_0.txt /var/lib/manticore/t_ram/wordforms_chunk2_1.txt /var/lib/manticore/t_ram/wordforms_chunk2_2.txt /var/lib/manticore/t_ram/wordforms_chunk2_3.txt /var/lib/manticore/t_ram/wordforms_chunk2_4.txt
rt_mem_limit = 268435456 |
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
precaching table 't_ram'
precached 1 tables in #!/[0-9]+\.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW INDEX t_ram SETTINGS;"
––– output –––
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Variable_name | Value |
+ | Variable_name | Value |
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | settings | stopwords = /var/lib/manticore/t_ram/new_stop3.txt /var/lib/manticore/t_ram/new_stop4.txt /var/lib/manticore/t_ram/new_stop5.txt /var/lib/manticore/t_ram/new_stop6.txt /var/lib/manticore/t_ram/new_stop7.txt
+ | settings | stopwords = /var/lib/manticore/t_ram/stopwords_chunk2_0.txt /var/lib/manticore/t_ram/stopwords_chunk2_1.txt /var/lib/manticore/t_ram/stopwords_chunk2_2.txt /var/lib/manticore/t_ram/stopwords_chunk2_3.txt /var/lib/manticore/t_ram/stopwords_chunk2_4.txt
- wordforms = /var/lib/manticore/t_ram/new_wordforms3.txt /var/lib/manticore/t_ram/new_wordforms4.txt /var/lib/manticore/t_ram/new_wordforms5.txt /var/lib/manticore/t_ram/new_wordforms6.txt /var/lib/manticore/t_ram/new_wordforms7.txt
+ wordforms = /var/lib/manticore/t_ram/wordforms_chunk2_0.txt /var/lib/manticore/t_ram/wordforms_chunk2_1.txt /var/lib/manticore/t_ram/wordforms_chunk2_2.txt /var/lib/manticore/t_ram/wordforms_chunk2_3.txt /var/lib/manticore/t_ram/wordforms_chunk2_4.txt
rt_mem_limit = 268435456 |
- +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+ +---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
seems all cases covered and old tests fixed and tests pass well |
No description provided.