The bloom filter hashes the entries with MD5 and treats the resulting 128-bit
hash as 2 distinct 64-bit hash values, interpreted as unsigned integers
using 2's complement encoding.
These two hash values, named h1 and h2, are then used to compute the
hash_count hash values using the formula, starting at i=0:
h(i) = h1 + (i * h2)
These resulting values are then taken modulo the number of bits in the bloom
filter to get the bits of the bloom filter to test for the given entry.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eBloomFilter\u003c/code\u003e class within the Google Cloud Firestore v1 API, detailing its implementation and usage in .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBloomFilter\u003c/code\u003e class, which is sealed, implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe class documentation outlines its hashing algorithm, which uses MD5 to generate two 64-bit hash values (\u003ccode\u003eh1\u003c/code\u003e and \u003ccode\u003eh2\u003c/code\u003e) for computing multiple hash values and to be able to test for the given entry.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBloomFilter\u003c/code\u003e has two main properties: \u003ccode\u003eBits\u003c/code\u003e, which is of type \u003ccode\u003eBitSequence\u003c/code\u003e and holds the bloom filter data, and \u003ccode\u003eHashCount\u003c/code\u003e, which is an integer representing the number of hashes used.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a version history, and shows the current latest version of the Firestore API to be 3.10.0, with details on each previous version, with 3.4.0 being shown here.\u003c/p\u003e\n"]]],[],null,[]]