Vera Olsson
Vera Olsson
I will chime in and bump this issue. I'm query Gmail API, you can fetch message with format `metadata` and specify headers as an array. Only last element of this...
 @bblimke I have a screenshot illustrating the problem. I took it while in the debugger navigating inside `query_mapper`. This resulted in that I...
@bblimke I just tried this, it worked: ```ruby url = "https://www.googleapis.com/gmail/v1/users/#{google_user_id}/messages/#{message_id}" WebMock::Config.instance.query_values_notation = :flat_array query_string = "fields=sizeEstimate,id,payload&format=metadata&metadataHeaders=From&metadataHeaders=Reply-To"aUser=#{@account.id}" stub_request(:get, url).with(query: query_string).to_return( status: 200, body: fixture, headers: { 'Content-Type' => 'application/json', }...
In [this test case](https://github.com/bblimke/webmock/blob/e92eab207dc6dbb37eaff214e3d5093cc0f84492/spec/unit/request_pattern_spec.rb#L371-L384) the config is changed for all tests in the context. Would it be possible to change config directly on `stub_request`?
@bblimke we noticed random test failures when I introduced `:flat_array`, the weird thing was that after a number of runs the tests would go through, then fail again (mismatched stub)....
Hey Since the API doesn't seem to support this, we ended up doing the lookup ourselves, you can do `m1.jaccard(m2)`. In our case we use a base64 represetantion of the...
The false positive results here are the ones that return Jaccard similarity lower than the LSH threshold?
@hamedmirzaei After some experimentation we have found that most convenient way for us is to work with MinHash serialized into base64 encoded string, as you can write those to any...
The size of the base64 string depends on the size of the original data. And the size of the data depends of the number of permutations you use. In my...
Thanks for a swift reply. In order to delete something, we need to know when it was added to index, so the only way I see is to alter the...