Created
May 24, 2012 16:05
-
-
Save bitemyapp/2782442 to your computer and use it in GitHub Desktop.
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
ipdb> conn.search("name:Cinna*") | |
{'hits': {'hits': [{'_score': 1.0, '_type': 'dish-type', '_id': 'o5uCPB7CQsStr9qjj3z0JQ', '_source': {'name': '" Better Than Cinnabon" Cinnamon Rolls'}, '_index': 'dish-index'}, {'_score': 1.0, '_type': 'dish', '_id': 'df3nK23TRHShqioVYPmcvA', '_source': {'name': '" Better Than Cinnabon" Cinnamon Rolls'}, '_index': 'dishes'}], 'total': 2, 'max_score': 1.0}, '_shards': {'successful': 25, 'failed': 0, 'total': 25}, 'took': 6, 'timed_out': False} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment