es反向索引

传统对比

在传统的DB中,存储的数据都是一种树的结构,es使用的反向索引,简单的对比如下:

传统DB:

id name
1 user
2 user1
3 user3
4 user
5 user1
6 user2

ES存储格式:

key doc
user 1,4
user1 2,5
user2 6
user3 3

分词功能

作者

付威

发布于

2019-02-17

更新于

2025-04-16

许可协议

You need to set install_url to use ShareThis. Please set it in _config.yml.

评论

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×