October 2017
Beginner to intermediate
316 pages
8h
English
Taking the granulate pattern even further and knowing that most indexing technologies actually use graphs/trees under the hood anyway, we can apply this pattern to create natural indexes for our data models inside the graph. This can be very useful for specific types of query patterns: range queries, time series, proximity searches, and so on.
Looking at our previous beer model, the alcohol percentages could be a prime candidate for these in-graph indexes. The idea here is that we connect all of the alcohol percentages to one another and create a linked list of alcohol percentages that we could follow upward or downward, for example, to find beer brands with similar alcohol percentages within a certain ...
Read now
Unlock full access