Complete the code to create a search optimization service in Snowflake.
CREATE SEARCH OPTIMIZATION SERVICE [1] ON TABLE my_database.my_schema.my_table;The name search_index is a valid and clear identifier for the search optimization service.
Complete the code to enable automatic maintenance for the search optimization service.
ALTER SEARCH OPTIMIZATION SERVICE search_index SET AUTOMATIC_MAINTENANCE = [1];Setting AUTOMATIC_MAINTENANCE to 'ON' enables automatic updates for the service.
Fix the error in the code to drop the search optimization service correctly.
DROP SEARCH OPTIMIZATION SERVICE [1];The service name search_index must be used to drop the correct search optimization service.
Fill both blanks to create a search optimization service with a comment.
CREATE SEARCH OPTIMIZATION SERVICE [1] ON TABLE my_db.my_schema.my_table COMMENT = '[2]';
The service name search_index and the comment Improves search speed clearly describe the purpose.
Fill all three blanks to alter the search optimization service to set automatic maintenance and a new comment.
ALTER SEARCH OPTIMIZATION SERVICE [1] SET AUTOMATIC_MAINTENANCE = [2] COMMENT = '[3]';
The service search_index is updated to enable automatic maintenance with 'ON' and a clear comment.