lsh 0.1.3-java → 0.1.4-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -117,6 +117,8 @@ module LSH
117
117
  bucket = find_bucket(i)
118
118
  vector_hashes += @redis.smembers("#{bucket}:#{hash}")
119
119
  end
120
+ # Making sure we don't load the same vectors twice if they match
121
+ # in different random projections
120
122
  vector_hashes.uniq!
121
123
  results = []
122
124
  vector_hashes.each do |vector_hash|
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: lsh
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: java
7
7
  authors:
8
8
  - Yves Raimond
@@ -30,7 +30,7 @@ dependencies:
30
30
  prerelease: false
31
31
  type: :runtime
32
32
  - !ruby/object:Gem::Dependency
33
- name: json-jruby
33
+ name: json
34
34
  version_requirements: !ruby/object:Gem::Requirement
35
35
  requirements:
36
36
  - - ">="