Question: send the file with screenshot of full java code 1 Exercise - Product Catalog jratist. Eyper Mudito AHbun, ricler A wove avprene, deacriptions by Jahn

1 Exercise - Product Catalog jratist. Eyper "Mudito AHbun", ricler "A wove avprene", deacriptions "by Jahn Coltrane". 1.1 Exercise 1 Problem statement: Find Albums by Genre and Sort by Year Produced. Hint: To support this query, create a compound index on all the properties used in the filter and in the sort. 1.2 Exercise 2 Problem statement: Find Products Sorted by Perentage Discount Descending. While most scarches will be for a particular type of product (e.g album, movie, etc.) in some situations you may want to return all products in a certain price range, or discount percentage. Hint: To support this type of query, you will want to create an index on the pricing.pct_savings field 1.3 Exercise 3 Problem statement: Find Movies Based on Starring Actor. Hint: To support this query, you may want to create indexes
Step by Step Solution
There are 3 Steps involved in it
To solve these exercises youll need to focus on creating indexes in MongoDB to optimize queries Here... View full answer
Get step-by-step solutions from verified subject matter experts
