# 基础30 ElasticSearch 倒排索引核心
## 概述
## 一、创建
```
doc1:I really liked my small dogs, and I think my mom also liked them.
doc2:He never liked any dogs, so I hope that my mom will not expect me to liked him.
```
分词,初步的倒排索引的建立
```
word doc1 doc2
I * *
really *
liked * *
my * *
small *
dogs *
and *
think *
mom * *
also *
them *
He *
never *
any *
so *
hope *
that *
will *
not *
expect *
me *
to *
him *
```
演示了一下倒排索引最简单的建立的一个过程
## 二、搜索
mother like little dog,不可能有任何结�