Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'field_order' into 'master'
Keep original attr/field order See merge request manticoresearch/dev!400
- Loading branch information
Showing
24 changed files
with
178 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a:2:{i:0;a:1:{i:0;a:11:{i:0;s:47:"stop=ok, return code=0; start=ok, return code=0";i:1;s:18:"1; 1; 1,2; test1; ";i:2;s:29:"2; 1; 1002,1023,4456; test2; ";i:3;s:29:"3; 1; 1003,1008,1010; test3; ";i:4;s:29:"4; 1; 1004,1005,1006; test4; ";i:5;s:7:"up.ok=2";i:6;s:47:"stop=ok, return code=0; start=ok, return code=0";i:7;s:20:"1; 1; 2,3,4; test1; ";i:8;s:29:"2; 1; 1002,1023,4456; test2; ";i:9;s:20:"3; 1; 6,7,8; test3; ";i:10;s:29:"4; 1; 1004,1005,1006; test4; ";}}i:1;a:1:{i:0;a:11:{i:0;s:47:"stop=ok, return code=0; start=ok, return code=0";i:1;s:18:"1; 1; 1,2; test1; ";i:2;s:29:"2; 1; 1002,1023,4456; test2; ";i:3;s:29:"3; 1; 1003,1008,1010; test3; ";i:4;s:29:"4; 1; 1004,1005,1006; test4; ";i:5;s:7:"up.ok=2";i:6;s:47:"stop=ok, return code=0; start=ok, return code=0";i:7;s:20:"1; 1; 2,3,4; test1; ";i:8;s:29:"2; 1; 1002,1023,4456; test2; ";i:9;s:20:"3; 1; 6,7,8; test3; ";i:10;s:29:"4; 1; 1004,1005,1006; test4; ";}}} | ||
a:2:{i:0;a:1:{i:0;a:11:{i:0;s:47:"stop=ok, return code=0; start=ok, return code=0";i:1;s:18:"1; test1; 1; 1,2; ";i:2;s:29:"2; test2; 1; 1002,1023,4456; ";i:3;s:29:"3; test3; 1; 1003,1008,1010; ";i:4;s:29:"4; test4; 1; 1004,1005,1006; ";i:5;s:7:"up.ok=2";i:6;s:47:"stop=ok, return code=0; start=ok, return code=0";i:7;s:20:"1; test1; 1; 2,3,4; ";i:8;s:29:"2; test2; 1; 1002,1023,4456; ";i:9;s:20:"3; test3; 1; 6,7,8; ";i:10;s:29:"4; test4; 1; 1004,1005,1006; ";}}i:1;a:1:{i:0;a:11:{i:0;s:47:"stop=ok, return code=0; start=ok, return code=0";i:1;s:18:"1; test1; 1; 1,2; ";i:2;s:29:"2; test2; 1; 1002,1023,4456; ";i:3;s:29:"3; test3; 1; 1003,1008,1010; ";i:4;s:29:"4; test4; 1; 1004,1005,1006; ";i:5;s:7:"up.ok=2";i:6;s:47:"stop=ok, return code=0; start=ok, return code=0";i:7;s:20:"1; test1; 1; 2,3,4; ";i:8;s:29:"2; test2; 1; 1002,1023,4456; ";i:9;s:20:"3; test3; 1; 6,7,8; ";i:10;s:29:"4; test4; 1; 1004,1005,1006; ";}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
|
||
<requires> | ||
<non-rt/> | ||
<non-windows/> | ||
</requires> | ||
|
||
<config> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a:1:{i:0;a:1:{i:0;a:21:{i:0;s:42:"CALL KEYWORDS ( 'apple', 'plain_stem', 1 )";i:1;s:63:"qpos = 1 tokenized = apple normalized = appl docs = 1 hits = 1 ";i:2;s:39:"CALL KEYWORDS ( 'apple', 'rt_stem', 1 )";i:3;s:63:"qpos = 1 tokenized = apple normalized = appl docs = 0 hits = 0 ";i:4;s:42:"ATTACH INDEX plain_stem TO RTINDEX rt_stem";i:5;s:37:"UPDATE rt_stem SET gid=111 WHERE id=1";i:6;s:24:"SELECT * FROM plain_stem";i:7;s:59:"1064; unknown local table(s) 'plain_stem' in search request";i:8;s:24:"SELECT * FROM plain_stem";i:9;s:59:"1064; unknown local table(s) 'plain_stem' in search request";i:10;s:10:"started=ok";i:11;s:39:"CALL KEYWORDS ( 'apple', 'rt_stem', 1 )";i:12;s:63:"qpos = 1 tokenized = apple normalized = appl docs = 1 hits = 1 ";i:13;s:21:"SELECT * FROM rt_stem";i:14;s:31:"id = 1 gid = 111 title = apple ";i:15;s:30:"DELETE FROM rt_stem WHERE id=1";i:16;s:21:"SELECT * FROM rt_stem";i:17;s:24:"TRUNCATE RTINDEX rt_stem";i:18;s:42:"ATTACH INDEX plain_stem TO RTINDEX rt_stem";i:19;s:21:"SELECT * FROM rt_stem";i:20;s:30:"id = 1 gid = 11 title = apple ";}}} | ||
a:1:{i:0;a:1:{i:0;a:21:{i:0;s:42:"CALL KEYWORDS ( 'apple', 'plain_stem', 1 )";i:1;s:63:"qpos = 1 tokenized = apple normalized = appl docs = 1 hits = 1 ";i:2;s:39:"CALL KEYWORDS ( 'apple', 'rt_stem', 1 )";i:3;s:63:"qpos = 1 tokenized = apple normalized = appl docs = 0 hits = 0 ";i:4;s:42:"ATTACH INDEX plain_stem TO RTINDEX rt_stem";i:5;s:37:"UPDATE rt_stem SET gid=111 WHERE id=1";i:6;s:24:"SELECT * FROM plain_stem";i:7;s:59:"1064; unknown local table(s) 'plain_stem' in search request";i:8;s:24:"SELECT * FROM plain_stem";i:9;s:59:"1064; unknown local table(s) 'plain_stem' in search request";i:10;s:10:"started=ok";i:11;s:39:"CALL KEYWORDS ( 'apple', 'rt_stem', 1 )";i:12;s:63:"qpos = 1 tokenized = apple normalized = appl docs = 1 hits = 1 ";i:13;s:21:"SELECT * FROM rt_stem";i:14;s:31:"id = 1 title = apple gid = 111 ";i:15;s:30:"DELETE FROM rt_stem WHERE id=1";i:16;s:21:"SELECT * FROM rt_stem";i:17;s:24:"TRUNCATE RTINDEX rt_stem";i:18;s:42:"ATTACH INDEX plain_stem TO RTINDEX rt_stem";i:19;s:21:"SELECT * FROM rt_stem";i:20;s:30:"id = 1 title = apple gid = 11 ";}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a:1:{i:0;a:1:{i:0;a:99:{i:0;s:79:" insert into rt1 values(1,'this is the test', 11), (2,'this is thes test', 22) ";i:1;s:79:" insert into rt2 values(1,'this is the test', 11), (2,'this is thes test', 22) ";i:2;s:47:"SELECT * FROM rt1 WHERE MATCH ( 'the test' );";i:3;s:40:"id = 1 idd = 11 text = this is the test ";i:4;s:41:"id = 2 idd = 22 text = this is thes test ";i:5;s:9:"SHOW META";i:6;s:9:"total = 2";i:7;s:15:"total_found = 2";i:8;s:19:"total_relation = eq";i:9;s:17:"keyword[0] = test";i:10;s:11:"docs[0] = 2";i:11;s:11:"hits[0] = 2";i:12;s:47:"SELECT * FROM rt2 WHERE MATCH ( 'the test' );";i:13;s:40:"id = 1 idd = 11 text = this is the test ";i:14;s:41:"id = 2 idd = 22 text = this is thes test ";i:15;s:9:"SHOW META";i:16;s:9:"total = 2";i:17;s:15:"total_found = 2";i:18;s:19:"total_relation = eq";i:19;s:17:"keyword[0] = test";i:20;s:11:"docs[0] = 2";i:21;s:11:"hits[0] = 2";i:22;s:46:"SELECT * FROM i1 WHERE MATCH ( 'the test' );";i:23;s:40:"id = 1 idd = 11 text = this is the test ";i:24;s:41:"id = 2 idd = 22 text = this is thes test ";i:25;s:9:"SHOW META";i:26;s:9:"total = 2";i:27;s:15:"total_found = 2";i:28;s:19:"total_relation = eq";i:29;s:17:"keyword[0] = test";i:30;s:11:"docs[0] = 2";i:31;s:11:"hits[0] = 2";i:32;s:46:"SELECT * FROM i2 WHERE MATCH ( 'the test' );";i:33;s:40:"id = 1 idd = 11 text = this is the test ";i:34;s:41:"id = 2 idd = 22 text = this is thes test ";i:35;s:9:"SHOW META";i:36;s:9:"total = 2";i:37;s:15:"total_found = 2";i:38;s:19:"total_relation = eq";i:39;s:17:"keyword[0] = test";i:40;s:11:"docs[0] = 2";i:41;s:11:"hits[0] = 2";i:42;s:29:"SET GLOBAL @filter1 = ( 101 )";i:43;s:39:"SELECT * FROM idx WHERE idd IN @filter1";i:44;s:30:"id = 1 idd = 101 text = test1 ";i:45;s:9:"SHOW META";i:46;s:9:"total = 1";i:47;s:15:"total_found = 1";i:48;s:19:"total_relation = eq";i:49;s:33:"SET GLOBAL @filter1 = ( 22, 102 )";i:50;s:10:"started=ok";i:51;s:39:"SELECT * FROM idx WHERE idd IN @filter1";i:52;s:30:"id = 2 idd = 102 text = test2 ";i:53;s:9:"SHOW META";i:54;s:9:"total = 1";i:55;s:15:"total_found = 1";i:56;s:19:"total_relation = eq";i:57;s:33:"SET GLOBAL @filter1 = ( 22, 103 )";i:58;s:10:"started=ok";i:59;s:47:"SELECT * FROM rt1 WHERE MATCH ( 'the test' );";i:60;s:40:"id = 1 idd = 11 text = this is the test ";i:61;s:41:"id = 2 idd = 22 text = this is thes test ";i:62;s:9:"SHOW META";i:63;s:9:"total = 2";i:64;s:15:"total_found = 2";i:65;s:19:"total_relation = eq";i:66;s:17:"keyword[0] = test";i:67;s:11:"docs[0] = 2";i:68;s:11:"hits[0] = 2";i:69;s:47:"SELECT * FROM rt2 WHERE MATCH ( 'the test' );";i:70;s:40:"id = 1 idd = 11 text = this is the test ";i:71;s:41:"id = 2 idd = 22 text = this is thes test ";i:72;s:9:"SHOW META";i:73;s:9:"total = 2";i:74;s:15:"total_found = 2";i:75;s:19:"total_relation = eq";i:76;s:17:"keyword[0] = test";i:77;s:11:"docs[0] = 2";i:78;s:11:"hits[0] = 2";i:79;s:46:"SELECT * FROM i1 WHERE MATCH ( 'the test' );";i:80;s:40:"id = 1 idd = 11 text = this is the test ";i:81;s:41:"id = 2 idd = 22 text = this is thes test ";i:82;s:9:"SHOW META";i:83;s:9:"total = 2";i:84;s:15:"total_found = 2";i:85;s:19:"total_relation = eq";i:86;s:17:"keyword[0] = test";i:87;s:11:"docs[0] = 2";i:88;s:11:"hits[0] = 2";i:89;s:46:"SELECT * FROM i2 WHERE MATCH ( 'the test' );";i:90;s:40:"id = 1 idd = 11 text = this is the test ";i:91;s:41:"id = 2 idd = 22 text = this is thes test ";i:92;s:9:"SHOW META";i:93;s:9:"total = 2";i:94;s:15:"total_found = 2";i:95;s:19:"total_relation = eq";i:96;s:17:"keyword[0] = test";i:97;s:11:"docs[0] = 2";i:98;s:11:"hits[0] = 2";}}} | ||
a:1:{i:0;a:1:{i:0;a:99:{i:0;s:79:" insert into rt1 values(1,'this is the test', 11), (2,'this is thes test', 22) ";i:1;s:79:" insert into rt2 values(1,'this is the test', 11), (2,'this is thes test', 22) ";i:2;s:47:"SELECT * FROM rt1 WHERE MATCH ( 'the test' );";i:3;s:40:"id = 1 text = this is the test idd = 11 ";i:4;s:41:"id = 2 text = this is thes test idd = 22 ";i:5;s:9:"SHOW META";i:6;s:9:"total = 2";i:7;s:15:"total_found = 2";i:8;s:19:"total_relation = eq";i:9;s:17:"keyword[0] = test";i:10;s:11:"docs[0] = 2";i:11;s:11:"hits[0] = 2";i:12;s:47:"SELECT * FROM rt2 WHERE MATCH ( 'the test' );";i:13;s:40:"id = 1 text = this is the test idd = 11 ";i:14;s:41:"id = 2 text = this is thes test idd = 22 ";i:15;s:9:"SHOW META";i:16;s:9:"total = 2";i:17;s:15:"total_found = 2";i:18;s:19:"total_relation = eq";i:19;s:17:"keyword[0] = test";i:20;s:11:"docs[0] = 2";i:21;s:11:"hits[0] = 2";i:22;s:46:"SELECT * FROM i1 WHERE MATCH ( 'the test' );";i:23;s:40:"id = 1 text = this is the test idd = 11 ";i:24;s:41:"id = 2 text = this is thes test idd = 22 ";i:25;s:9:"SHOW META";i:26;s:9:"total = 2";i:27;s:15:"total_found = 2";i:28;s:19:"total_relation = eq";i:29;s:17:"keyword[0] = test";i:30;s:11:"docs[0] = 2";i:31;s:11:"hits[0] = 2";i:32;s:46:"SELECT * FROM i2 WHERE MATCH ( 'the test' );";i:33;s:40:"id = 1 text = this is the test idd = 11 ";i:34;s:41:"id = 2 text = this is thes test idd = 22 ";i:35;s:9:"SHOW META";i:36;s:9:"total = 2";i:37;s:15:"total_found = 2";i:38;s:19:"total_relation = eq";i:39;s:17:"keyword[0] = test";i:40;s:11:"docs[0] = 2";i:41;s:11:"hits[0] = 2";i:42;s:29:"SET GLOBAL @filter1 = ( 101 )";i:43;s:39:"SELECT * FROM idx WHERE idd IN @filter1";i:44;s:30:"id = 1 text = test1 idd = 101 ";i:45;s:9:"SHOW META";i:46;s:9:"total = 1";i:47;s:15:"total_found = 1";i:48;s:19:"total_relation = eq";i:49;s:33:"SET GLOBAL @filter1 = ( 22, 102 )";i:50;s:10:"started=ok";i:51;s:39:"SELECT * FROM idx WHERE idd IN @filter1";i:52;s:30:"id = 2 text = test2 idd = 102 ";i:53;s:9:"SHOW META";i:54;s:9:"total = 1";i:55;s:15:"total_found = 1";i:56;s:19:"total_relation = eq";i:57;s:33:"SET GLOBAL @filter1 = ( 22, 103 )";i:58;s:10:"started=ok";i:59;s:47:"SELECT * FROM rt1 WHERE MATCH ( 'the test' );";i:60;s:40:"id = 1 text = this is the test idd = 11 ";i:61;s:41:"id = 2 text = this is thes test idd = 22 ";i:62;s:9:"SHOW META";i:63;s:9:"total = 2";i:64;s:15:"total_found = 2";i:65;s:19:"total_relation = eq";i:66;s:17:"keyword[0] = test";i:67;s:11:"docs[0] = 2";i:68;s:11:"hits[0] = 2";i:69;s:47:"SELECT * FROM rt2 WHERE MATCH ( 'the test' );";i:70;s:40:"id = 1 text = this is the test idd = 11 ";i:71;s:41:"id = 2 text = this is thes test idd = 22 ";i:72;s:9:"SHOW META";i:73;s:9:"total = 2";i:74;s:15:"total_found = 2";i:75;s:19:"total_relation = eq";i:76;s:17:"keyword[0] = test";i:77;s:11:"docs[0] = 2";i:78;s:11:"hits[0] = 2";i:79;s:46:"SELECT * FROM i1 WHERE MATCH ( 'the test' );";i:80;s:40:"id = 1 text = this is the test idd = 11 ";i:81;s:41:"id = 2 text = this is thes test idd = 22 ";i:82;s:9:"SHOW META";i:83;s:9:"total = 2";i:84;s:15:"total_found = 2";i:85;s:19:"total_relation = eq";i:86;s:17:"keyword[0] = test";i:87;s:11:"docs[0] = 2";i:88;s:11:"hits[0] = 2";i:89;s:46:"SELECT * FROM i2 WHERE MATCH ( 'the test' );";i:90;s:40:"id = 1 text = this is the test idd = 11 ";i:91;s:41:"id = 2 text = this is thes test idd = 22 ";i:92;s:9:"SHOW META";i:93;s:9:"total = 2";i:94;s:15:"total_found = 2";i:95;s:19:"total_relation = eq";i:96;s:17:"keyword[0] = test";i:97;s:11:"docs[0] = 2";i:98;s:11:"hits[0] = 2";}}} |
Oops, something went wrong.