Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by the source. Read the full original article here →
What are the benefits of aggregating text fields? Text fields, by default, are analysed before indexing so that a value like "red car" can be found by searching for both "red" and "car".
Making a text field aggregatable means that all values of all documents for the text field are loaded into memory.
In our example of red car, an aggregation on the field will return a "red" bucket and a "car" bucket. Any document with a mention of the word red in this text field will be added to the "red" bucket and the same for the word car and the "car" bucket.
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com