search = collection.list(query, from_event_id=event_id) it works the same as: search = collection.list(query) and not filtered by id number
please enable debug mode and attach the output, thanks.
p.s it should not be filtered by id number, it works like this: collection.list(query="..", from_event_id=N) event.id=N event.id=N+1 event.id=N+2 event.id=N+K (where N+K is the last event id) make sure you get sub-set of events retrieved by collection.list()
search = collection.list(constraint, from_event_id=151464) Debug print: send: 'GET /api/events;case_sensitive=True?search=RestDataCenter1+type%3D950 HTTP/1.1\r\nHost: 10.35.113.33\r\nAccept-Encoding: identity\r\nPrefer: persistent-auth\r\nContent-type: application/xml\r\nAuthorization: Basic dmRjYWRtaW5AcWEubGFiLnRsdi5yZWRoYXQuY29tOjEyMzQ1Ng==\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: Date: Sun, 10 Jun 2012 10:45:37 GMT header: Set-Cookie: JSESSIONID=cDJMGq4Q2hpJ-EGrQ-gQ-4yf.undefined; Path=/api header: Content-Type: application/xml header: Connection: close header: Transfer-Encoding: chunked send: 'GET /api/events;from=151464;case_sensitive=True?search=type%3D950 HTTP/1.1\r\nHost: 10.35.113.33\r\nAccept-Encoding: identity\r\ncookie: JSESSIONID=cDJMGq4Q2hpJ-EGrQ-gQ-4yf.undefined\r\nPrefer: persistent-auth\r\nContent-type: application/xml\r\nAuthorization: Basic dmRjYWRtaW5AcWEubGFiLnRsdi5yZWRoYXQuY29tOjEyMzQ1Ng==\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: Date: Sun, 10 Jun 2012 10:45:38 GMT header: Content-Type: application/xml header: Connection: close header: Transfer-Encoding: chunked 2012-06-10 13:45:39,828 - MainThread - events - INFO - Searching for events with id > 151464, 2012-06-10 13:45:39,829 - MainThread - events - ERROR - Collection size is wrong, expected is: 2, actual is: 100
as you can see sdk produce right url - "/api/events;from=151464;" checked on server side and all works ok as well.