Created
January 24, 2012 18:41
-
-
Save donovanhide/1671797 to your computer and use it in GitHub Desktop.
Example response: http://127.0.0.1:8080/document/5/1
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
{ | |
"success" : true, | |
"documents" :{ | |
"metaData" :{ | |
"fields" : ["characters","docid","doctype","fragment_count","group","title"] | |
}, | |
"rows" :[ | |
{ | |
"fragments" : [[93,11,36,450491776]], | |
"characters": 993759, | |
"docid": 4, | |
"doctype": 2, | |
"group": "Dickens", | |
"title": "great_expectations.txt", | |
"fragment_count": 1 | |
}, | |
{ | |
"fragments" : [[192,11,58,1854191875]], | |
"characters": 892126, | |
"docid": 8, | |
"doctype": 2, | |
"group": "Dickens", | |
"title": "oliver_twist.txt", | |
"fragment_count": 1 | |
}, | |
{ | |
"fragments" : [[3190,73240,48,3667650475]], | |
"characters": 173940, | |
"docid": 1, | |
"doctype": 4, | |
"group": "Shakespeare", | |
"title": "hamlet.txt", | |
"fragment_count": 1 | |
}, | |
{ | |
"fragments" : [[410,2732,26,984972577],[423,2745,39,2859269951],[3154,6843,34,3835548155]], | |
"characters": 13987, | |
"docid": 2, | |
"doctype": 5, | |
"group": "Test", | |
"title": "utf8.txt", | |
"fragment_count": 3 | |
} | |
] | |
}, | |
"text" : "This is a text document which includes some words from Great Expectations and Oliver Twist.\n\nMy father\x27s family name being Pirrip\n12345678901234567890\nMy father\x27s family nose is a test line!\n\nTREATS OF THE PLACE WHERE OLIVER TWIST WAS BORN AND OF THE\n12345678901234567890\nTREATS OF THE PLACES\n\nThis document needs to be fairly long to enable a decent test for the index paging to kick in and be tested.\n\nποτ᾿ á¼Î¾á¿†Î½ τῇ πόλει καὶ Ï„á½° αὑτῆς ἔχειν ἀσφαλῶς καὶ Φίλιππον\n\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nHello world, ΚαλημÎÏα κόσμε, コンニãƒãƒ\n\nOphelia, walk you here.--Gracious, so please you, \n\n\nIt ends with the words THE END\n\nTHE END\n" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment