Created
July 30, 2019 03:54
-
-
Save pawneetdev/535ed52a4c7f337ad6922a14ecfedb69 to your computer and use it in GitHub Desktop.
Searchkick queries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. To delete an index from ES | |
Searchkick.client.indices.delete(index: name) | |
2. To promote new index | |
Product.search_index.promote(index_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment