AHA! MongoDB's query optimizer is confused by the use of $or instead of $in. By using $in we get a query on the slug index and things are much faster with tens of thousands of pages
AHA! MongoDB's query optimizer is confused by the use of $or instead of $in. By using $in we get a query on the slug index and things are much faster with tens of thousands of pages

williamfortunademoraes/apostrophe,existanze/apostrophe,eskan/apostrophe,kwangkim/apostrophe,punkave/apostrophe,existanze/apostrophe,eskan/apostrophe,dj31416/apostrophe,the1sky/apostrophe,kwangkim/apostrophe,dj31416/apostrophe,allensh929/apostrophe,kwangkim/apostrophe,existanze/apostrophe,dj31416/apostrophe,Klaudit/apostrophe,existanze/apostrophe,Klaudit/apostrophe,williamfortunademoraes/apostrophe,kwangkim/apostrophe,williamfortunademoraes/apostrophe,the1sky/apostrophe,allensh929/apostrophe,williamfortunademoraes/apostrophe,Klaudit/apostrophe,eskan/apostrophe,allensh929/apostrophe,the1sky/apostrophe,punkave/apostrophe,dj31416/apostrophe,eskan/apostrophe,the1sky/apostrophe,Klaudit/apostrophe,allensh929/apostrophe