Created
September 25, 2014 18:40
-
-
Save tonysun83/8eea12628e78c8d6d89a to your computer and use it in GitHub Desktop.
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
case dreyfus_fabric_search:go(DbName, DDoc, IndexName, QueryArgs) of | |
{being_stream, From, Ref}-> | |
{ok, Resp} = start_json_response(Req, 200), | |
dreyfus_index:send_all_hits(From, Ref, Resp, Req), % WE BLOCK AND WAIT UNTIL STREAM OF HITS IS COMPLETE | |
end_json_response(Resp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment