Searching in primitives