Support Partial Indexing
We have a large collection but would only like to index the most recent entries, which would reduce the amount of space and resources it would take to index and query.
-
Mads commented
Would be nice, we would like to ignore soft-deleted records
-
Andrii Hrachov commented
Upvote. Highly needed, as we have to index circa 60% of our documents, it can save a lot of hardware resources
-
John commented
Being able to keep non searchable documents out of the index is very important.
helps
- keep secure documents more secure by helping to avoid accidental query errors which leak protected content
- improves search performance -
Matan commented
Sooooooooooo important!!!!!!!!!!!!!!!!!
-
Davide commented
This would be strongly needed. The current workaround is to create a separate collection, but then we cannot use a $out stage to populate it without destroying the index as said here:
https://docs.atlas.mongodb.com/reference/atlas-search/create-index/We are currently solving with a $merge stage but a partial index would be definitely a better solution.
-
Jonathan commented
We dont want this data to be searchable with mongo search, but searchable with mongodb basic indexing. Mongo Search index performance will be much better if we can have this option and keep old data to be retriever with mongot index.
-
AdminMarcus Eagan (Admin, MongoDB) commented
Today, you may be able to move documents in a collection that you do not want searchable to online archive.
-
Jonathan Gautier commented
Any news about this feature ? We have more than 100 millions documents and only 600k public searchable. This can improuve the performance without upgrading server.
-
Eric commented
In several collections, we have tens of millions documents, but only 1-5 million are public/searchable in any given collection. It seems tragic to index all 50 million documents when only 5 million are public.