What does “Index” mean in search engine?

Index can be called the place for categorizing data, which is used to speed up the search process. Suppose that there is no index process, search engine would have to go through every document while searching the result. It can cause a lot of memory usage and the search time would be longer.

For example, how do you place the book called Cinderella in the library? If you put the book whatever you want, it would be very hard to find the book later because there are a lot of books. However, if you put the book in novel section, it could be faster to find it. Like this, indexing is the process of storing the data onto specific place for search later.

find book에 대한 이미지 검색결과

There are a lot of designs or architectures for indexing data in every search engine. Apache Lucene, which is open source search engine has data structure called inverted index. Moreover, Apache Solr, Elasticsearch wihch are based on Apache Lucene got the same structure as well.

apache lucene에 대한 이미지 검색결과

elasticsearch에 대한 이미지 검색결과

http://tech.javacafe.io/2017/11/07/%EA%B2%80%EC%83%89%EC%97%94%EC%A7%84-%EC%83%89%EC%9D%B8(Index)-%EC%86%8C%EA%B0%9C/