HI I have a scenario where I have some 20 million userIds.
I want to push all these ids in couchbase , but the ids should be looked up in constant time. Hence I am thinking of creating those 20 mil documents with empty data inside, so that adding , removing those userIds can be done in constant time. Is this approach right ? I do not want to push these userids inside document because in that case lookup will be slower. Is this understanding correct ?