Relative Content

Tag Archive for mongodbindexingaggregation-frameworkasp.net-core-webapilinqkit

How to do Indexing on MongoDB dynamic generated query in aggregation pipeline?

How can i use index on dynamic query generated fields. Suppose i have 20 query params. We are able to search with either single param or multiple params. If it’s single param, i could just use index on that database field. But what about if searching with multiple query param? My aggregation query is being built from c# Linqkit and i did check it from query profiler to identify slow queries.