* Elasticsearch is a distributed,
* Free and open source
* analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured.
* Based on Lucene
# CHAPTER 2
Word | Index document |
---|---|
hi | 1 |
it | 1,2 |
is | 1,2 |
a | 1,2 |
simple | 1,3 |
test | 1,2,3 |
yeap | 2,3 |
N° | Content |
---|---|
1 | Hi it is a simple test |
2 | Yep it is a test |
3 | Yep simple test |
We have 1 document with different contents:
Index all words
Word | Index document |
---|---|
hi | (1,1) |
it | (1,2) (2,2) |
is | (1,3)(2,3) |
a | (1,4)(2,4) |
simple | (1,5)(3, 2) |
test | (1,6)(2,5)(3,3) |
yeap | (2,1)(3,1) |
Index the number of content and position of the occurrence
For example, if I need to highlight some word, the last table is very helpful
Advantages
disadvantages
Backend
User Interface
Kivana and Elasticsearch