I'm trying to minimize my document fields.
This is a sample document:
{_id: "T7BWYnDoozmFEhLW3", no: "3748597", letter: "I", extra: []}
If I populate _id
with no
and letter
, it would be like this:
{_id: "3748597_I", extra: []}
So to get no
and/or letter
fields, I would use $regex
on _id
.
Would this slow down the searching process?