src/main/java/chlx/hashing/lsh/LSH64BitGrouper.java
private boolean putWithNoiseReduction(long docId, @NotNull long[] lshSignature) {
		int count = 0;
		for (int stage = 0; stage < stage64Bit; ++stage) {
			if (groupBuilder.get(stage).containsKey(lshSignature[stage])) {
				++count;
			}
			if (count >= MINIMUM_APPEARANCE_FOR_NOISE_REDUCTION) {
				return putUnchecked(docId, lshSignature);
			}
		}
		return false;
	}
/**
	 * try filtering doc with number of hash in
	 * groupBuilder < MINIMUM_APPEARANCE_FOR_NOISE_REDUCTION (3)
	 * before putting docId into presented buckets inorder to extract dupGroups later
	 */
try filtering doc with number of hash in
groupBuilder < MINIMUM_APPEARANCE_FOR_NOISE_REDUCTION (3)
before putting docId into presented buckets inorder to extract dupGroups later
try filtering doc with number of hash in groupBuilder < MINIMUM_APPEARANCE_FOR_NOISE_REDUCTION ( 3 ) before putting docId into presented buckets inorder to extract dupGroups later
private boolean putWithNoiseReduction(long docId, @NotNull long[] lshSignature) {
		int count = 0;
		for (int stage = 0; stage < stage64Bit; ++stage) {
			if (groupBuilder.get(stage).containsKey(lshSignature[stage])) {
				++count;
			}
			if (count >= MINIMUM_APPEARANCE_FOR_NOISE_REDUCTION) {
				return putUnchecked(docId, lshSignature);
			}
		}
		return false;
	}
private boolean putWithNoiseReduction ( long docId , @ NotNull long [ ] lshSignature ) { int count = 0 ; for ( int stage = 0 ; stage < stage64Bit ; ++ stage ) { if ( groupBuilder . get ( stage ) . containsKey ( lshSignature [ stage ] ) ) { ++ count ; } if ( count >= MINIMUM_APPEARANCE_FOR_NOISE_REDUCTION ) { return putUnchecked ( docId , lshSignature ) ; } } return false ; }
try filtering doc with number of hash in
 groupBuilder < MINIMUM_APPEARANCE_FOR_NOISE_REDUCTION (3)
 before putting docId into presented buckets inorder to extract dupGroups later
try filtering doc with number of hash in groupBuilder < MINIMUM_APPEARANCE_FOR_NOISE_REDUCTION ( 3 ) before putting docId into presented buckets inorder to extract dupGroups later