How to Delete an Index in Elasticsearch Using NodeJS

Introduction When you’re working with data in Elasticsearch, there will likely be situations when you need to delete an index. You might have created an index just to test out some feature, but you don’t need to keep it permanently. You might have changed your overall data structure and find that you’re no longer using … Continued

How to Bulk Import into Elasticsearch using NodeJS

Introduction If you have a large dataset that you want to import into Elasticsearch, an easy way to accomplish the task is to use the curl command. This method of bulk indexing data makes use of Elasticsearch’s Bulk API, which allows users to index or delete many documents in a single API call. With this … Continued

How to use Slop with Phrase Search in Elasticsearch 6 using NodeJS

Introduction This step-by-step tutorial explains how you can use slop and Phrase Search in Elasticsearch. The flexibility of the slop parameter allows you to view matches that are close—not exact–to your actual Phrase Searches. The more general search allows more leniency in users that might only know a couple keywords in what they are searching … Continued

How to use Phrase Search in Elasticsearch 6 using NodeJS

Introduction It’s true that you can quickly locate an exact phrase in an index in Elasticsearch. To accomplish the task, you’ll want to use Phrase Search. But if you’re just starting phrase search in Elasticsearch, you may be tempted to conduct a multiple word search with the match query. Here’s why match works for single-word … Continued

How to Use Fuzzy Query Matches in Elasticsearch using NodeJS

Introduction If you want to provide the best possible search experience for your users, you need to make sure they’re getting the results they want. The problem is, sometimes users make mistakes. If you’re only querying for exact matches, simple typos and spelling errors can lead to empty results– not an ideal user experience. This … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.