이러한 구성 요소를 구현하는 방법을 알아보기 전에 기술적 문제를 고려해야 한다. 문서에 포
함된 정보에 기반을 두고 문서에 빠르게 액세스하려면 어떻게 해야 할까? 모든 문서를 스캔해
야 한다면 대량의 문서를 검색할 수 없다. 이 문제를 해결하기 위해서 우리는
역 인덱스
inverted
index
를 사용한다.
6.1
역 인덱스
원래
인덱싱
(색인화)은 정보를 더 쉽게 검색할 수 있도록 구성하고 레이블을 지정하는 수단이
었다. 예를 들어 도서관은 인덱스를 사용하여 책을 구성하고 찾는다. 듀이 십진분류법
The
Dewey
Decimal
Classification
(
DDC
)
1
은 책의 주제를 바탕으로 인덱싱하는 방법이다. 또한 제목, 저자, 출
판일 등을 기준으로 인덱스를 만들 수도 있다. 또 다른 종류의 인덱스는 종종 책 뒷부분에서 찾
을 수 있다. 이는 책에 나온 개념을 어느 페이지에서 확인할 수 있는지 적혀있는 목록이다.
역 인덱스
에서 인덱스는 기존의 전통적인 인덱스와는 약간 다르다. 대신 인덱스의 수학적인 개
념, 즉 집합의
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.