Skip to content

Instantly share code, notes, and snippets.

@softwaredoug
Created November 9, 2012 02:16
Show Gist options
  • Save softwaredoug/4043292 to your computer and use it in GitHub Desktop.
Save softwaredoug/4043292 to your computer and use it in GitHub Desktop.
2012-11-08T21:14:46.560243 GET http://ec2-50-17-6-13.compute-1.amazonaws.com:8341/sda/v1/lucidworks/collections/bright-planet-4/fields
2012-11-08T21:14:46.973235 GET http://ec2-50-17-6-13.compute-1.amazonaws.com:8341/sda/v1/lucidworks/collections/bright-planet-4/fields
2012-11-08T21:14:47.231369 POST http://ec2-50-17-6-13.compute-1.amazonaws.com:8341/sda/v1/client/collections/bright-planet-4/documents/retrieval
POST {'query': {'q': '*:*', 'rows': 2, 'fl': 'id,annotations.topic'}}
PUT... {"q": "*:*", "hits": 242643, "req": 0, "type": "q", "qt": 1352427287}
2012-11-08T21:14:47.429946 PUT http://ec2-50-17-6-13.compute-1.amazonaws.com:8341/sda/v1/lucidworks/collections/bright-planet-4/click
Traceback (most recent call last):
File "lucidFakeClicks.py", line 4, in <module>
print coll.docR({"query": {"q": "*:*", "rows": 2, "fl":"id,annotations.topic"}})
File "/home/doug/lucid/SDADemo/utils/lSdaCollection.py", line 196, in docR
self.__recordQuery(resp.json)
File "/home/doug/lucid/SDADemo/utils/lSdaCollection.py", line 230, in __recordQuery
checkRespCode(resp.status_code, self.config.clickTrackingUrl)
File "/home/doug/lucid/SDADemo/utils/lSdaCommon.py", line 100, in checkRespCode
(respCode, url))
IOError: Unsuccesful HTTP Request: Resp Code 500 received from http://ec2-50-17-6-13.compute-1.amazonaws.com:8341/sda/v1/lucidworks/collections/bright-planet-4/click
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment