Hello World in Vue.js

December 30, 2016 by
Part 2 of 55 in the Vue.js: From Beginner to Professional series

Time to start writing some code! Let’s start things off with the classic “Hello World” example. The first thing we need to do, is to actually make Vue.js available to our very first Vue.js application. In order to do that,  head over to the installation page at vuejs.org. Here we have various options, from downloading the… read more

Introduction to Vue.js

December 30, 2016 by
Part 1 of 55 in the Vue.js: From Beginner to Professional series

Welcome to this series about Vue.js, and thank you for joining! Before we get into writing code, let’s first take a look at what Vue.js actually is. Vue.js is a reactive framework for building web applications. Vue is different than other JavaScript frameworks in the way that it is not as intrusive. Besides the core library,… read more

Aggregations

November 12, 2016 by
Part 35 of 35 in the Complete Guide to Elasticsearch series

Aggregations are a way of grouping and extracting statistics from your data. In case you are familiar with relational databases, you can think of this as the equivalent of SQL’s GROUP BY clause and aggregate functions such as SUM. Interestingly, Elasticsearch provides a rather powerful feature that allows you to execute searches and return hits… read more

Sorting Results

November 12, 2016 by
Part 34 of 35 in the Complete Guide to Elasticsearch series

In this article we will be taking a look at how to sort the search results. When retrieving documents from Elasticsearch, it is possible to sort the search results. If you are familiar with relational databases, then this is equivalent of the ORDER BY query clause. I will perform a search for the term pasta… read more

Pagination

November 12, 2016 by
Part 33 of 35 in the Complete Guide to Elasticsearch series

In this article, you will learn how to do pagination in Elasticsearch. In the previous article, I introduced the size parameter, which I will also be using to paginate through search results. While the size parameter specifies how many documents should be returned in the results, the from parameter specifies which document index to start… read more

Filtering Results

November 12, 2016 by
Part 31 of 35 in the Complete Guide to Elasticsearch series

This article explains how to filter results. Remember that there are two query contexts; the query context and filter context. Queries that are in query context affect the relevance scores of documents depending on how well they match, while queries in a filter context do not affect relevance scores. Therefore, filter queries can be used… read more