googlearchive/flashlight

add support for scrollId

Opened this issue · 1 comments

While scrolling on hits in elasticsearch one does not need 'q', 'query', 'body' however the current version of flashlight does not recognize {type : "type", index: "index", scrollId : "sgdjhsgjhgjh", scroll : "30s"} as a valid query and gives exception asking for any of 'q', 'query' or 'body'

Created a pull request which fixes the current issue please verify :
#154