-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bad bloom filter for JSON root object; added regression to test…
… 318
- Loading branch information
Showing
3 changed files
with
46 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a:1:{i:0;a:5:{i:0;a:3:{s:8:"sphinxql";s:48:"select * from test where json_data.price is null";s:10:"total_rows";i:4;s:4:"rows";a:4:{i:0;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"{}";s:5:"title";s:6:"test 1";}i:1;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:9:"json_data";s:14:"{"price":null}";s:5:"title";s:6:"test 4";}i:2;a:4:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"{}";s:5:"title";s:6:"test 5";}i:3;a:4:{s:2:"id";s:1:"6";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"[]";s:5:"title";s:6:"test 6";}}}i:1;a:3:{s:8:"sphinxql";s:52:"select * from test where json_data.price is not null";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:9:"json_data";s:12:"{"price":20}";s:5:"title";s:6:"test 2";}i:1;a:4:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:9:"json_data";s:12:"{"price":30}";s:5:"title";s:6:"test 3";}}}i:2;a:3:{s:8:"sphinxql";s:45:"select * from test where json_data.price < 25";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:9:"json_data";s:12:"{"price":20}";s:5:"title";s:6:"test 2";}i:1;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:9:"json_data";s:14:"{"price":null}";s:5:"title";s:6:"test 4";}}}i:3;a:3:{s:8:"sphinxql";s:46:"select * from test where json_data is not null";s:10:"total_rows";i:6;s:4:"rows";a:6:{i:0;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"{}";s:5:"title";s:6:"test 1";}i:1;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:9:"json_data";s:12:"{"price":20}";s:5:"title";s:6:"test 2";}i:2;a:4:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:9:"json_data";s:12:"{"price":30}";s:5:"title";s:6:"test 3";}i:3;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:9:"json_data";s:14:"{"price":null}";s:5:"title";s:6:"test 4";}i:4;a:4:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"{}";s:5:"title";s:6:"test 5";}i:5;a:4:{s:2:"id";s:1:"6";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"[]";s:5:"title";s:6:"test 6";}}}i:4;a:3:{s:8:"sphinxql";s:57:"select id i, json_data as j from test where j is not null";s:10:"total_rows";i:4;s:4:"rows";a:4:{i:0;a:2:{s:1:"i";s:1:"2";s:1:"j";s:12:"{"price":20}";}i:1;a:2:{s:1:"i";s:1:"3";s:1:"j";s:12:"{"price":30}";}i:2;a:2:{s:1:"i";s:1:"4";s:1:"j";s:14:"{"price":null}";}i:3;a:2:{s:1:"i";s:1:"6";s:1:"j";s:2:"[]";}}}}} | ||
a:1:{i:0;a:8:{i:0;a:3:{s:8:"sphinxql";s:48:"select * from test where json_data.price is null";s:10:"total_rows";i:4;s:4:"rows";a:4:{i:0;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"{}";s:5:"title";s:6:"test 1";}i:1;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:9:"json_data";s:14:"{"price":null}";s:5:"title";s:6:"test 4";}i:2;a:4:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"{}";s:5:"title";s:6:"test 5";}i:3;a:4:{s:2:"id";s:1:"6";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"[]";s:5:"title";s:6:"test 6";}}}i:1;a:3:{s:8:"sphinxql";s:52:"select * from test where json_data.price is not null";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:9:"json_data";s:12:"{"price":20}";s:5:"title";s:6:"test 2";}i:1;a:4:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:9:"json_data";s:12:"{"price":30}";s:5:"title";s:6:"test 3";}}}i:2;a:3:{s:8:"sphinxql";s:45:"select * from test where json_data.price < 25";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:9:"json_data";s:12:"{"price":20}";s:5:"title";s:6:"test 2";}i:1;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:9:"json_data";s:14:"{"price":null}";s:5:"title";s:6:"test 4";}}}i:3;a:3:{s:8:"sphinxql";s:46:"select * from test where json_data is not null";s:10:"total_rows";i:6;s:4:"rows";a:6:{i:0;a:4:{s:2:"id";s:1:"1";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"{}";s:5:"title";s:6:"test 1";}i:1;a:4:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:9:"json_data";s:12:"{"price":20}";s:5:"title";s:6:"test 2";}i:2;a:4:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:9:"json_data";s:12:"{"price":30}";s:5:"title";s:6:"test 3";}i:3;a:4:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:9:"json_data";s:14:"{"price":null}";s:5:"title";s:6:"test 4";}i:4;a:4:{s:2:"id";s:1:"5";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"{}";s:5:"title";s:6:"test 5";}i:5;a:4:{s:2:"id";s:1:"6";s:3:"gid";s:1:"1";s:9:"json_data";s:2:"[]";s:5:"title";s:6:"test 6";}}}i:4;a:3:{s:8:"sphinxql";s:57:"select id i, json_data as j from test where j is not null";s:10:"total_rows";i:4;s:4:"rows";a:4:{i:0;a:2:{s:1:"i";s:1:"2";s:1:"j";s:12:"{"price":20}";}i:1;a:2:{s:1:"i";s:1:"3";s:1:"j";s:12:"{"price":30}";}i:2;a:2:{s:1:"i";s:1:"4";s:1:"j";s:14:"{"price":null}";}i:3;a:2:{s:1:"i";s:1:"6";s:1:"j";s:2:"[]";}}}i:5;a:3:{s:8:"sphinxql";s:19:"select * from test1";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:5:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:2:"j1";s:10:"{"1234":0}";s:2:"j2";s:10:"{"1416":0}";s:5:"title";s:6:"test 2";}i:1;a:5:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:2:"j1";s:7:"{"1":1}";s:2:"j2";s:17:"{"1416":{"1":12}}";s:5:"title";s:6:"test 3";}i:2;a:5:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:2:"j1";s:8:"{"12":1}";s:2:"j2";s:9:"{"141":1}";s:5:"title";s:6:"test 4";}}}i:6;a:3:{s:8:"sphinxql";s:45:"select * from test1 where j2.1416 is not null";s:10:"total_rows";i:2;s:4:"rows";a:2:{i:0;a:5:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:2:"j1";s:10:"{"1234":0}";s:2:"j2";s:10:"{"1416":0}";s:5:"title";s:6:"test 2";}i:1;a:5:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:2:"j1";s:7:"{"1":1}";s:2:"j2";s:17:"{"1416":{"1":12}}";s:5:"title";s:6:"test 3";}}}i:7;a:3:{s:8:"sphinxql";s:39:"select *, j2.1416, j2.1416.1 from test1";s:10:"total_rows";i:3;s:4:"rows";a:3:{i:0;a:7:{s:2:"id";s:1:"2";s:3:"gid";s:1:"1";s:2:"j1";s:10:"{"1234":0}";s:2:"j2";s:10:"{"1416":0}";s:5:"title";s:6:"test 2";s:7:"j2.1416";s:1:"0";s:9:"j2.1416.1";N;}i:1;a:7:{s:2:"id";s:1:"3";s:3:"gid";s:1:"1";s:2:"j1";s:7:"{"1":1}";s:2:"j2";s:17:"{"1416":{"1":12}}";s:5:"title";s:6:"test 3";s:7:"j2.1416";s:8:"{"1":12}";s:9:"j2.1416.1";s:2:"12";}i:2;a:7:{s:2:"id";s:1:"4";s:3:"gid";s:1:"1";s:2:"j1";s:8:"{"12":1}";s:2:"j2";s:9:"{"141":1}";s:5:"title";s:6:"test 4";s:7:"j2.1416";N;s:9:"j2.1416.1";N;}}}}} |
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