Support ObjectID as a datatype for search facets
I'm really interested in using search facets to boost search performance, but one of the fields that I want to filter by is an ObjectId.
I believe the only supported facet types are [date, numberFacet, stringFacet].
20
votes

-
Rajiv commented
This feature is important and has a few use cases especially in optimizing batch jobs against large collections.
-
ahmad commented
We have a database containing over 55 million documents! It would be highly appreciated if we could incorporate a Facet data type for ObjectId. Our objective is to optimize the speed and efficiency of our system.