실제 시나리오에서는 처음 두 부분의 코드에 사용자 정의가 필요하다. 우리가 할 수 있는 것은
특수 코드를 분리하는 작업이다. 이를 통해 향후 도구를 더 쉽게 재사용할 수 있다.
인덱싱 스크립트를 작성하기 위해 먼저 인덱싱할 데이터를 구문 분석하고 준비한다. 이 단계는
다른 데이터 소스에 대해서도 다시 구현해야 하는 특수 단계다. 스크립트는 데이터를 인덱싱한
다. 이것은 더 일반적인 코드 조각이다. 그런 다음 사용자는 쿼리에서 인덱싱된 문서의 다른 필
드를 사용할 수 있도록 쿼리 기능을 작성한다. 마지막으로 레이블링 검색 결과를 살펴본다. 이
결과는 인덱싱 스크립트를 개선하거나 잠재적으로 머신러닝 기반 랭커
ranker
를 구현하는 데 사
용할 수 있다.
14.4
솔루션 구현
구현을 시작하기 전에 일래스틱서치 설치에 관한 적절한 지침을 따르자. 일래스틱서치 도커를
사용하는 것도 고려할 수 있다.
일래스틱서치가 실행되면 텍스트를 로드하고 ...
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.