Created
September 7, 2012 00:45
-
-
Save rzezeski/3662010 to your computer and use it in GitHub Desktop.
yokozuna - use logical partitions
This file contains hidden or 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
| Cut disk usage by half and makes query easier to debug if necessary. | |
| $ curl -vv 'http://localhost:8091/search/fruit?q=text:apple&wt=json' | jsonpp | tee result.out | |
| { | |
| "responseHeader": { | |
| "status": 0, | |
| "QTime": 126, | |
| "params": { | |
| "shards": "127.0.0.1:7981/solr/fruit", | |
| "wt": "json", | |
| "fq": "(_yz_node:[email protected] AND _yz_pn:2) OR (_yz_node:[email protected] AND _yz_pn:5) OR (_yz_node:[email protected] AND _yz_pn:8) OR (_yz_node:[email protected] AND _yz_pn:11) OR (_yz_node:[email protected] AND _yz_pn:14) OR (_yz_node:[email protected] AND _yz_pn:17) OR (_yz_node:[email protected] AND _yz_pn:20) OR (_yz_node:[email protected] AND _yz_pn:23) OR (_yz_node:[email protected] AND _yz_pn:26) OR (_yz_node:[email protected] AND _yz_pn:29) OR (_yz_node:[email protected] AND _yz_pn:32) OR (_yz_node:[email protected] AND _yz_pn:35) OR (_yz_node:[email protected] AND _yz_pn:38) OR (_yz_node:[email protected] AND _yz_pn:41) OR (_yz_node:[email protected] AND _yz_pn:44) OR (_yz_node:[email protected] AND _yz_pn:47) OR (_yz_node:[email protected] AND _yz_pn:50) OR (_yz_node:[email protected] AND _yz_pn:53) OR (_yz_node:[email protected] AND _yz_pn:56) OR (_yz_node:[email protected] AND _yz_pn:59) OR (_yz_node:[email protected] AND _yz_pn:60 AND (_yz_fpn:60)) OR (_yz_node:[email protected] AND _yz_pn:63)", | |
| "q": "text:apple" | |
| } | |
| }, | |
| "response": { | |
| "numFound": 99999, | |
| "start": 0, | |
| "maxScore": 0.37499875, | |
| "docs": [ | |
| { | |
| "id": "34572_20", | |
| "_yz_ed": "20120907T003451 34572 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "19", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "20", | |
| "_yz_rk": "34572", | |
| "_version_": 1412408899400630272 | |
| }, | |
| { | |
| "id": "67906_47", | |
| "_yz_ed": "20120907T003451 67906 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "45", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "47", | |
| "_yz_rk": "67906", | |
| "_version_": 1412408899403776001 | |
| }, | |
| { | |
| "id": "34573_11", | |
| "_yz_ed": "20120907T003451 34573 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "11", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "11", | |
| "_yz_rk": "34573", | |
| "_version_": 1412408899409018880 | |
| }, | |
| { | |
| "id": "67907_50", | |
| "_yz_ed": "20120907T003451 67907 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "49", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "50", | |
| "_yz_rk": "67907", | |
| "_version_": 1412408899414261761 | |
| }, | |
| { | |
| "id": "34574_32", | |
| "_yz_ed": "20120907T003451 34574 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "30", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "32", | |
| "_yz_rk": "34574", | |
| "_version_": 1412408899421601792 | |
| }, | |
| { | |
| "id": "67908_14", | |
| "_yz_ed": "20120907T003451 67908 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "12", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "14", | |
| "_yz_rk": "67908", | |
| "_version_": 1412408899425796096 | |
| }, | |
| { | |
| "id": "34575_35", | |
| "_yz_ed": "20120907T003451 34575 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "33", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "35", | |
| "_yz_rk": "34575", | |
| "_version_": 1412408899431038976 | |
| }, | |
| { | |
| "id": "67909_35", | |
| "_yz_ed": "20120907T003451 67909 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "34", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "35", | |
| "_yz_rk": "67909", | |
| "_version_": 1412408899434184704 | |
| }, | |
| { | |
| "id": "34576_59", | |
| "_yz_ed": "20120907T003451 34576 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "57", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "59", | |
| "_yz_rk": "34576", | |
| "_version_": 1412408899439427584 | |
| }, | |
| { | |
| "id": "67910_26", | |
| "_yz_ed": "20120907T003451 67910 P89TKQG1NuB91pzYPgsIbRzazhg=", | |
| "_yz_fpn": "25", | |
| "_yz_node": "[email protected]", | |
| "_yz_pn": "26", | |
| "_yz_rk": "67910", | |
| "_version_": 1412408899442573312 | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment