Thanks Kevin for the reply and my intention is like need to filter 2 fields in the same collection, 1 is string type and am able to successfully do it, but another filter is like current date to last 1 year.
Filter:1
pipeline=[{’$match’: { ‘chem.code’:‘bbnehuyd’ }}]