These are chat archives for Automattic/mongoose
@eliecerthoms If you sometimes query by
category and sometimes query by
slug then it sounds reasonable to index them both.
I suspect the cost of using 5 indexes is about 5 times the cost of using one index, when saving a document. In other words it’s a linear relationship, so indexing multiple fields is not really dangerous.
contentfield might be quite large.