Got it

What Are the Indexes Used During Elastic Search?

Created: Jul 17, 2022 13:29:58Latest reply: Jul 23, 2022 03:25:38 140 5 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello Huawei experts!


This post enquires about the indexes used during elastic search. Please see more details below.


ISSUE DESCRIPTION


Please share some examples of the indexes used during elastic search as well. I am confused about if it's asking about inverted indexes or something else like this:


https://forum.huawei.com/enterprise/en/hcia-big-data-introduction-to-elasticsearch/thread/877525-893.


Please clear my confusion, thanks in advance!

  • x
  • convention:

Featured Answers

Best answer

Recommended answer

little_fish
Admin Created Jul 17, 2022 15:07:47

Dear shivajikobardan,
Elasticsearch (Lucene) uses the inverted indexing mode, as shown in figure. A table consisting of different keywords is called a dictionary, which contains various keywords and statistics of the keywords (including the ID of the document where a keyword is located, the location of the keyword in the document, and the frequency of the keyword). In this search mode, Elasticsearch searches for the document ID and location based on a keyword and then finds the document, which is similar to the method of looking for a word in a dictionary or finding the content on a specific book page according to the table of contents of the book. Inverted indexing is time consuming for constructing indexes and costly for maintenance, but it is efficient in search. Thanks.

inverted indexing mode


View more
  • x
  • convention:

All Answers
chenhui
chenhui Admin Created Jul 17, 2022 13:30:38

Hello, friend. It's nice to meet you in the community. We're working on your problem. Please wait for a second.
View more
  • x
  • convention:

little_fish
little_fish Admin Created Jul 17, 2022 15:07:47

Dear shivajikobardan,
Elasticsearch (Lucene) uses the inverted indexing mode, as shown in figure. A table consisting of different keywords is called a dictionary, which contains various keywords and statistics of the keywords (including the ID of the document where a keyword is located, the location of the keyword in the document, and the frequency of the keyword). In this search mode, Elasticsearch searches for the document ID and location based on a keyword and then finds the document, which is similar to the method of looking for a word in a dictionary or finding the content on a specific book page according to the table of contents of the book. Inverted indexing is time consuming for constructing indexes and costly for maintenance, but it is efficient in search. Thanks.

inverted indexing mode


View more
  • x
  • convention:

shivajikobardan
shivajikobardan Created Jul 23, 2022 03:25:23

Posted by chenhui at 2022-07-17 13:30 Hello, friend. It's nice to meet you in the community. We're working on your problem. Please wait fo ...
thank you.
View more
  • x
  • convention:

shivajikobardan
shivajikobardan Created Jul 23, 2022 03:25:38

Posted by little_fish at 2022-07-17 15:07 Dear shivajikobardan,Elasticsearch (Lucene) uses the inverted indexing mode, as shown in figure. A t ...
thank you. it helped me a lot.
View more
  • x
  • convention:

little_fish
little_fish Created Jul 25, 2022 00:38:27 (0) (0)
 

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.