clean_index_orphans does not actually clean index orphans
JKring opened this issue · comments
jake kring commented
It looks like the index_orphans method is returning an array of arbitrary and repetitive ids (50, 50, 50, 50, etc).
Also
self.all.collect { |c| c.id }
won't scale past a couple thousand documents.