-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed duplicate rows in RT indexes, removed unused variable, fixed an…
…noying warning git-svn-id: http://sphinxsearch.googlecode.com/svn/trunk@4410 8b96e2b9-35c5-2c16-bc47-5122d61876d4
- Loading branch information
kevg
committed
Dec 12, 2013
1 parent
d9197c8
commit 613ead5
Showing
4 changed files
with
24 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a:2:{i:0;a:9:{i:0;a:3:{s:8:"sphinxql";s:56:"select remove_repeats((select * from dist1), gid, 0, 10)";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:1;a:3:{s:8:"sphinxql";s:56:"select remove_repeats((select * from dist1), iid, 0, 10)";s:10:"total_rows";i:10;s:4:"rows";a:10:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:3;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:4;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:5;a:3:{s:2:"id";s:1:"6";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:6;a:3:{s:2:"id";s:1:"7";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:7;a:3:{s:2:"id";s:1:"8";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:8;a:3:{s:2:"id";s:1:"9";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:9;a:3:{s:2:"id";s:2:"10";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:2;a:3:{s:8:"sphinxql";s:70:"select * from dist1 where match('one|three|four|five') order by id asc";s:10:"total_rows";i:4;s:4:"rows";a:4:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:2;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:3;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:3;a:3:{s:8:"sphinxql";s:107:"select remove_repeats((select * from dist1 where match('one|three|four|five') order by id asc), iid, 0, 10)";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:4;a:3:{s:8:"sphinxql";s:106:"select remove_repeats((select * from dist1 where match('one|three|four|five') order by id asc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:5;a:3:{s:8:"sphinxql";s:107:"select remove_repeats((select * from dist2 where match('one|three|four|five') order by id asc), iid, 0, 10)";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:6;a:3:{s:8:"sphinxql";s:106:"select remove_repeats((select * from dist2 where match('one|three|four|five') order by id asc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:7;a:3:{s:8:"sphinxql";s:99:"select * from (select *, weight() w from dist2 where match('test') order by id asc) order by w desc";s:10:"total_rows";i:5;s:4:"rows";a:5:{i:0;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:1;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:2;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}i:3;a:4:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}i:4;a:4:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}}}i:8;a:3:{s:8:"sphinxql";s:135:"select remove_repeats((select * from (select *, weight() w from dist2 where match('test') order by id asc) order by w desc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:1;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}}}}i:1;a:9:{i:0;a:3:{s:8:"sphinxql";s:56:"select remove_repeats((select * from dist1), gid, 0, 10)";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:1;a:3:{s:8:"sphinxql";s:56:"select remove_repeats((select * from dist1), iid, 0, 10)";s:10:"total_rows";i:10;s:4:"rows";a:10:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:3;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:4;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:5;a:3:{s:2:"id";s:1:"6";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:6;a:3:{s:2:"id";s:1:"7";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:7;a:3:{s:2:"id";s:1:"8";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:8;a:3:{s:2:"id";s:1:"9";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:9;a:3:{s:2:"id";s:2:"10";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:2;a:3:{s:8:"sphinxql";s:70:"select * from dist1 where match('one|three|four|five') order by id asc";s:10:"total_rows";i:4;s:4:"rows";a:4:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:2;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:3;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:3;a:3:{s:8:"sphinxql";s:107:"select remove_repeats((select * from dist1 where match('one|three|four|five') order by id asc), iid, 0, 10)";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:4;a:3:{s:8:"sphinxql";s:106:"select remove_repeats((select * from dist1 where match('one|three|four|five') order by id asc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:5;a:3:{s:8:"sphinxql";s:107:"select remove_repeats((select * from dist2 where match('one|three|four|five') order by id asc), iid, 0, 10)";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:6;a:3:{s:8:"sphinxql";s:106:"select remove_repeats((select * from dist2 where match('one|three|four|five') order by id asc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:7;a:3:{s:8:"sphinxql";s:99:"select * from (select *, weight() w from dist2 where match('test') order by id asc) order by w desc";s:10:"total_rows";i:5;s:4:"rows";a:5:{i:0;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:1;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:2;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}i:3;a:4:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}i:4;a:4:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}}}i:8;a:3:{s:8:"sphinxql";s:135:"select remove_repeats((select * from (select *, weight() w from dist2 where match('test') order by id asc) order by w desc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:1;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}}}}} | ||
a:2:{i:0;a:16:{i:0;a:3:{s:8:"sphinxql";s:56:"select remove_repeats((select * from dist1), gid, 0, 10)";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:1;a:3:{s:8:"sphinxql";s:56:"select remove_repeats((select * from dist1), iid, 0, 10)";s:10:"total_rows";i:10;s:4:"rows";a:10:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:3;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:4;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:5;a:3:{s:2:"id";s:1:"6";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:6;a:3:{s:2:"id";s:1:"7";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:7;a:3:{s:2:"id";s:1:"8";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:8;a:3:{s:2:"id";s:1:"9";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:9;a:3:{s:2:"id";s:2:"10";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:2;a:3:{s:8:"sphinxql";s:70:"select * from dist1 where match('one|three|four|five') order by id asc";s:10:"total_rows";i:4;s:4:"rows";a:4:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:2;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:3;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:3;a:3:{s:8:"sphinxql";s:107:"select remove_repeats((select * from dist1 where match('one|three|four|five') order by id asc), iid, 0, 10)";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:4;a:3:{s:8:"sphinxql";s:106:"select remove_repeats((select * from dist1 where match('one|three|four|five') order by id asc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:5;a:3:{s:8:"sphinxql";s:107:"select remove_repeats((select * from dist2 where match('one|three|four|five') order by id asc), iid, 0, 10)";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:6;a:3:{s:8:"sphinxql";s:106:"select remove_repeats((select * from dist2 where match('one|three|four|five') order by id asc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:7;a:3:{s:8:"sphinxql";s:99:"select * from (select *, weight() w from dist2 where match('test') order by id asc) order by w desc";s:10:"total_rows";i:5;s:4:"rows";a:5:{i:0;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:1;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:2;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}i:3;a:4:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}i:4;a:4:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}}}i:8;a:3:{s:8:"sphinxql";s:135:"select remove_repeats((select * from (select *, weight() w from dist2 where match('test') order by id asc) order by w desc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:1;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}}}i:9;a:2:{s:8:"sphinxql";s:47:"REPLACE INTO rt_killlist VALUES (1, 'asdf', 11)";s:14:"total_affected";i:1;}i:10;a:2:{s:8:"sphinxql";s:26:"FLUSH RAMCHUNK rt_killlist";s:14:"total_affected";i:0;}i:11;a:2:{s:8:"sphinxql";s:47:"REPLACE INTO rt_killlist VALUES (1, 'asdf', 11)";s:14:"total_affected";i:1;}i:12;a:2:{s:8:"sphinxql";s:26:"FLUSH RAMCHUNK rt_killlist";s:14:"total_affected";i:0;}i:13;a:2:{s:8:"sphinxql";s:47:"REPLACE INTO rt_killlist VALUES (1, 'asdf', 11)";s:14:"total_affected";i:1;}i:14;a:2:{s:8:"sphinxql";s:26:"FLUSH RAMCHUNK rt_killlist";s:14:"total_affected";i:0;}i:15;a:3:{s:8:"sphinxql";s:25:"SELECT * FROM rt_killlist";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:2:"id";s:1:"1";s:3:"gid";s:2:"11";}}}}i:1;a:16:{i:0;a:3:{s:8:"sphinxql";s:56:"select remove_repeats((select * from dist1), gid, 0, 10)";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:1;a:3:{s:8:"sphinxql";s:56:"select remove_repeats((select * from dist1), iid, 0, 10)";s:10:"total_rows";i:10;s:4:"rows";a:10:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:3;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:4;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:5;a:3:{s:2:"id";s:1:"6";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:6;a:3:{s:2:"id";s:1:"7";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:7;a:3:{s:2:"id";s:1:"8";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:8;a:3:{s:2:"id";s:1:"9";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:9;a:3:{s:2:"id";s:2:"10";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:2;a:3:{s:8:"sphinxql";s:70:"select * from dist1 where match('one|three|four|five') order by id asc";s:10:"total_rows";i:4;s:4:"rows";a:4:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:2;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:3;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:3;a:3:{s:8:"sphinxql";s:107:"select remove_repeats((select * from dist1 where match('one|three|four|five') order by id asc), iid, 0, 10)";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:4;a:3:{s:8:"sphinxql";s:106:"select remove_repeats((select * from dist1 where match('one|three|four|five') order by id asc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:5;a:3:{s:8:"sphinxql";s:107:"select remove_repeats((select * from dist2 where match('one|three|four|five') order by id asc), iid, 0, 10)";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}i:2;a:3:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}}}i:6;a:3:{s:8:"sphinxql";s:106:"select remove_repeats((select * from dist2 where match('one|three|four|five') order by id asc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:3:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";}i:1;a:3:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";}}}i:7;a:3:{s:8:"sphinxql";s:99:"select * from (select *, weight() w from dist2 where match('test') order by id asc) order by w desc";s:10:"total_rows";i:5;s:4:"rows";a:5:{i:0;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:1;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:2;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}i:3;a:4:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}i:4;a:4:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}}}i:8;a:3:{s:8:"sphinxql";s:135:"select remove_repeats((select * from (select *, weight() w from dist2 where match('test') order by id asc) order by w desc), iid, 0, 2)";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:3:"iid";s:1:"2";s:1:"w";s:4:"1587";}i:1;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:3:"iid";s:1:"1";s:1:"w";s:4:"1500";}}}i:9;a:2:{s:8:"sphinxql";s:47:"REPLACE INTO rt_killlist VALUES (1, 'asdf', 11)";s:14:"total_affected";i:1;}i:10;a:2:{s:8:"sphinxql";s:26:"FLUSH RAMCHUNK rt_killlist";s:14:"total_affected";i:0;}i:11;a:2:{s:8:"sphinxql";s:47:"REPLACE INTO rt_killlist VALUES (1, 'asdf', 11)";s:14:"total_affected";i:1;}i:12;a:2:{s:8:"sphinxql";s:26:"FLUSH RAMCHUNK rt_killlist";s:14:"total_affected";i:0;}i:13;a:2:{s:8:"sphinxql";s:47:"REPLACE INTO rt_killlist VALUES (1, 'asdf', 11)";s:14:"total_affected";i:1;}i:14;a:2:{s:8:"sphinxql";s:26:"FLUSH RAMCHUNK rt_killlist";s:14:"total_affected";i:0;}i:15;a:3:{s:8:"sphinxql";s:25:"SELECT * FROM rt_killlist";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:2:"id";s:1:"1";s:3:"gid";s:2:"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