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

How to use Pagination on a Query in Elasticsearch 6 using NodeJS

Introduction It’s often that queries used in Elasticsearch return an extremely large number of results. This may be ok for a computer but too many results can be hard for us to process mentally. In these cases it’s useful to limit the number of results your query results through pagination. We’ll show you how use … 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.