The common way of data modeling for relational database is to reduce data redundancy and improve data integrity by using a normalization process. However, Elasticsearch is not ;a relational database and, as such, data modeling does not apply to it. Like most NoSQL databases, Elasticsearch treats the real world as a flat world, which means each document is independent. Basically, a single document should include all of the information used to determine whether it matches a search request. To bridge the gap between two worlds, several common techniques of data modeling are used in Elasticsearch. We'll discuss data denormalization, inner objects, nested objects, and join datatypes in the following sub-sections. No matter what kinds of technique you use, if you don't know the query that the user is running, you can't make good data modeling...
- Tech Categories
- Best Sellers
- New Releases
- Books
- Videos
- Audiobooks
Tech Categories Popular Audiobooks
- Articles
- Newsletters
- Free Learning
You're reading from Advanced Elasticsearch 7.0
Wai Tak Wong is a faculty member in the Department of Computer Science at Kean University, NJ, USA. He has more than 15 years professional experience in cloud software design and development. His PhD in computer science was obtained at NJIT, NJ, USA. Wai Tak has served as an associate professor in the Information Management Department of Chung Hua University, Taiwan. A co-founder of Shanghai Shellshellfish Information Technology, Wai Tak acted as the Chief Scientist of the R&D team, and he has published more than a dozen algorithms in prestigious journals and conferences. Wai Tak began his search and analytics technology career with Elasticsearch in the real estate market and later applied this to data management and FinTech data services.
Read more about Wai Tak Wong
Unlock this book and the full library FREE for 7 days
Author (1)
Wai Tak Wong is a faculty member in the Department of Computer Science at Kean University, NJ, USA. He has more than 15 years professional experience in cloud software design and development. His PhD in computer science was obtained at NJIT, NJ, USA. Wai Tak has served as an associate professor in the Information Management Department of Chung Hua University, Taiwan. A co-founder of Shanghai Shellshellfish Information Technology, Wai Tak acted as the Chief Scientist of the R&D team, and he has published more than a dozen algorithms in prestigious journals and conferences. Wai Tak began his search and analytics technology career with Elasticsearch in the real estate market and later applied this to data management and FinTech data services.
Read more about Wai Tak Wong