added changes on checking similarity
This commit is contained in:
8
base/api/haystackreducer.py
Normal file
8
base/api/haystackreducer.py
Normal file
@ -0,0 +1,8 @@
|
||||
def haystackreducer(emissions):
|
||||
"""
|
||||
haystackreducer is a class responsible for reducing emissions
|
||||
from multiple map processes. It tallies the number of matches
|
||||
from key-value pairs emitted from each mapper
|
||||
"""
|
||||
return len(emissions)
|
||||
|
||||
Reference in New Issue
Block a user