Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas Search
Created by Guest
Created on Aug 18, 2021

wildcard path support for range operator

Currently wildcard path can be constructed to 4 operator(text, phrase, wildcard and regex). Some use cases will be there to use the wildcard path for numeric which can be used by range operator { a : { "6578ghg" : { value : "not 55" } } } { a : { "9578uhg" : { value : 55 } } } Above 2 document if we have dynamic mapping of search index and below query cannot be used as range does not support wildcard in path: ``` db.dates.aggregate([ { $search :{ index:"synonyms", compound:{filter:[{text:{query:"55",path:{wildcard:"metadata.*.value"}}},{range:{gte:55,lte:55,path:{wildcard:"metadata.*.value"}}}]}}}]) ``` Is there any plans/restriction for adding wildcard path support for range operator?