Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We want to implement an autocomplete feature that provides suggestions as a user types a phrase in the search field. The autocomplete is like the
We want to implement an autocomplete feature that provides suggestions as a user types a phrase in the search field. The autocomplete is like the Google search suggests feature. When you start searching for a keyword in the Google search, it suggests a few items to you to make life easier for you. The list we have in mind currently has a product catalog of around 3 million objects and only want to autocomplete the product name. Use the products.json in the following link: https://github.com/BestBuyAPls/open-data- set That is the BestBuy product names. If you save the products.json on the local desktop and open that by MS Excel, you get some idea about its format. This is what it looks like: 43900 name: "Duracell AAA Batteries (4-Pack) AA Batteries (8-Pack C Batteries (4-Pack)" type"HardGood"price"5.49, ies(4-Packf."type":HardGoodprice" 5.49,upc 041333415017 "categoryr 248530, "name Duracell AA1.5V CopperTop Batter 3 (sku:127687 "name: "Duracell 4 (sku :150115 "name": "Energizer MAX Batteries AA (4-Pa 5 (sku :185230 "name: "Duracell 6 (sku :185267"name": "Duracell 7 shu 312290name "Duracell 8 sku :324884 "name": Directed Electronics- Viper Audio 9 sku :333179 name": "Energizer 10 sku:346575 name: "Metra-R adio Installation Dash Ki 11 (sku:346646 "name": "Metra-R adio Dash Multikit for Se 2sku:347137"name: "Metra-W iring Harness for Select 13 pcmcat 312300050015 2300050015 name "Conn ckI, type HardGood" "price 4.99,upc03980001 3329 type":"HardGood","price*A 99,"upc":"04 1 3 3 j440019.-categori re-pcm cat 3 1 2 30005001 s","name"."Conne type" HardGood orice 9.99,upe 041333430010categorypcmcat 332300050015name Conne D Batteries (4-Pack). Batteries (2-Packr Good rice :7.99, upe 041333216010-categorydpemcat 312300050015-name Conn nam categorydabcat03000 9V Batteries (2-Pack)" Glass Break Sensor-_Type":"HardGood','price":39.99,"uperos20 7005060.-category rrhcmcat 1 1 3 1000 2-Pack) for Most 1989-2000 Ford, Lincoln& Mercury Vehicles-Black type HardGood,"price 16.99,"upc 0864290 lect GM Vehicles-Black" type HardGood","price :16.99 1998-2008 Ford Vehicles-Multicolored type HardGood, price 16.99 io Wire Harness Adapter for Select vehicles","type":"HardGood."price":1699,-up'086429056507 "category 86-1998 Honda Acura Vehicles-Multicolored, type "HardGood"price 16.99 N Cell E90 Batteries ( rsku":347 146"name": 4 (sku:347155name 5 ("sku":347333"name 16("sku": 349572,"name": "INSTALL, 17 (sku:373642"name: "Jensen "Metra-T urbo wire Aftermarket Rad . "Metra-W iring Harness for Most 19 "METRA-A ntenna Cable Adapter- B PORTABLE RADAR DETECTOR INST","type":"HardGood','price".29.99,"upc":"400003495726","categoryirrhcmcat298100050010 3.6V NiCad Battery for 90 We want to implement an autocomplete feature that provides suggestions as a user types a phrase in the search field. The autocomplete is like the Google search suggests feature. When you start searching for a keyword in the Google search, it suggests a few items to you to make life easier for you. The list we have in mind currently has a product catalog of around 3 million objects and only want to autocomplete the product name. Use the products.json in the following link: https://github.com/BestBuyAPls/open-data- set That is the BestBuy product names. If you save the products.json on the local desktop and open that by MS Excel, you get some idea about its format. This is what it looks like: 43900 name: "Duracell AAA Batteries (4-Pack) AA Batteries (8-Pack C Batteries (4-Pack)" type"HardGood"price"5.49, ies(4-Packf."type":HardGoodprice" 5.49,upc 041333415017 "categoryr 248530, "name Duracell AA1.5V CopperTop Batter 3 (sku:127687 "name: "Duracell 4 (sku :150115 "name": "Energizer MAX Batteries AA (4-Pa 5 (sku :185230 "name: "Duracell 6 (sku :185267"name": "Duracell 7 shu 312290name "Duracell 8 sku :324884 "name": Directed Electronics- Viper Audio 9 sku :333179 name": "Energizer 10 sku:346575 name: "Metra-R adio Installation Dash Ki 11 (sku:346646 "name": "Metra-R adio Dash Multikit for Se 2sku:347137"name: "Metra-W iring Harness for Select 13 pcmcat 312300050015 2300050015 name "Conn ckI, type HardGood" "price 4.99,upc03980001 3329 type":"HardGood","price*A 99,"upc":"04 1 3 3 j440019.-categori re-pcm cat 3 1 2 30005001 s","name"."Conne type" HardGood orice 9.99,upe 041333430010categorypcmcat 332300050015name Conne D Batteries (4-Pack). Batteries (2-Packr Good rice :7.99, upe 041333216010-categorydpemcat 312300050015-name Conn nam categorydabcat03000 9V Batteries (2-Pack)" Glass Break Sensor-_Type":"HardGood','price":39.99,"uperos20 7005060.-category rrhcmcat 1 1 3 1000 2-Pack) for Most 1989-2000 Ford, Lincoln& Mercury Vehicles-Black type HardGood,"price 16.99,"upc 0864290 lect GM Vehicles-Black" type HardGood","price :16.99 1998-2008 Ford Vehicles-Multicolored type HardGood, price 16.99 io Wire Harness Adapter for Select vehicles","type":"HardGood."price":1699,-up'086429056507 "category 86-1998 Honda Acura Vehicles-Multicolored, type "HardGood"price 16.99 N Cell E90 Batteries ( rsku":347 146"name": 4 (sku:347155name 5 ("sku":347333"name 16("sku": 349572,"name": "INSTALL, 17 (sku:373642"name: "Jensen "Metra-T urbo wire Aftermarket Rad . "Metra-W iring Harness for Most 19 "METRA-A ntenna Cable Adapter- B PORTABLE RADAR DETECTOR INST","type":"HardGood','price".29.99,"upc":"400003495726","categoryirrhcmcat298100050010 3.6V NiCad Battery for 90
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started