우리는 시간이 지남에 따라 개선될 수 있는 맞춤 검색엔진을 구축하려 한다. 나아가 가능한 한
재사용되기를 바란다. 따라서 우리는 애플리케이션에 몇 가지 추상적 개념을 구축할 것이다.
14.1.2
제약 조건
제목과 텍스트가 있는 문서부터 시작한다. 범주, 작성자, 키워드와 같은 다른 속성도 선택적으
로 포함할 수 있다. 모든 데이터를 다시 인덱싱할 필요 없이 검색 결과를 개선할 수 있기를 원
한다. 또한 검색엔진을 개선하기 위해 문서-쿼리 쌍에 레이블을 지정할 수 있어야 한다.
14.1.3
문제 해결
우리는 여러 부분을 고려해야 한다. 먼저
Spark
NLP
로 텍스트를 처리하고 스파크를 사용하여
일래스틱서치
로 직접 인덱싱한다. 문서 필드를 활용하는 특수 쿼리를 작성한다. 또한 쿼리와
각 쿼리에 대한 선택 항목을 기록한다.
14.2
프로젝트 계획
이전 프로젝트와 마찬가지로 대용량 파일을 청크
chunk
1
로 나눈다. 이 프로젝트는 여러 오픈 소
스 기술의 구성에 의존한다.
① 프로세싱 및 인덱싱 스크립트 빌드(
Spark
NLP
, 일래스틱서치)
② 쿼리 기능의 사용자 지정
③ 문서-쿼리 쌍 레이블 지정(
doccano
2
활용)
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.