Skip to Content
Neo4j: The Definitive Guide
book

Neo4j: The Definitive Guide

by Luanne Misquitta, Christophe Willemsen
July 2025
Beginner to intermediate
410 pages
6h 27m
Korean
O'Reilly Media, Inc.
Content preview from Neo4j: The Definitive Guide

7장 검색

이 작품은 AI를 사용하여 번역되었습니다. 여러분의 피드백과 의견을 환영합니다: translation-feedback@oreilly.com

겨울 방학이 다가오고, ElectricHarmony의 팀은 사용자 참여를 유도하기 위해 12월 한 달 동안 챌린지를 진행하기로 결정합니다. 브레인스토밍 워크숍을 진행한 후 최고의 아이디어에 투표합니다. 올해 우승 아이디어는 30일간의 노래 챌린지입니다( 그림 7-1 참조)!

그림 7-1. 30일간의 노래 챌린지

이 챌린지의 목표는 매일 테마 태그를 지정하고 사용자가 이와 관련된 노래를 소셜 미디어에 공유하는 사소한 것입니다. 이 챌린지는 재미도 있지만, 사람마다 노래의 의미가 다르기 때문에 팀에서는 사용자의 개성을 파악할 수 있기를 기대할 수 있습니다. '어린 시절'과 같은 태그가 음악에 대한 개인적인 연관성을 드러낼 수 있다는 점도 흥미롭습니다. 누군가는 노래가 발표된 시기와 상관없이 어린 시절 추억의 일부이기 때문에 레드 제플린 노래에 그런 식으로 태그를 지정할 수 있습니다.

아이디어를 테스트하기 위해 내부적으로 챌린지를 실행하기로 결정합니다. 데이터베이스에서 트랙을 찾는 것과 관련된 몇 가지 문제에 즉시 직면하게 됩니다. 예를 들어

  • heaven 같은 부분적인 트랙 이름을 검색하면 "Stairway to Heaven"이라는 트랙이 검색되지 않습니다.

  • 영어 방언의 변형: colour 을 검색하면 color 이 검색되지 않습니다.

  • 검색은 대소문자를 구분하므로 사용자는 트랙 이름이 데이터베이스에 어떻게 저장되어 있는지 정확히 알고 있어야 합니다. 첫 글자가 대문자입니까? 소문자입니까? 모두 소문자로? 다양한 변형이 가능합니다!

이 장에서는 검색 결과의 관련성을 극대화하기 위해 텍스트 데이터를 저장하고 쿼리하는 방법에 대한 모든 것을 알려드립니다. 간단한 텍스트 입력을 기반으로 사용자에게 정확하고 관련성 높은 결과를 제공하는 것은 매우 도전적이면서도 엄청난 보람을 주는 작업이기 때문에 매우 흥미로운 주제입니다. 이 장에서는 검색에 사용되는 다양한 종류의 데이터 구조와 알고리즘, 그리고 이들이 어떻게 강력한 검색 시스템에 가치를 더하는지를 살펴봅니다. 이 책은 Neo4j에 관한 것이지만, 대부분의 내용은 Solr 및 Elasticsearch와 같은 Apache Lucene 기반 검색 기술의 기초가 되므로 이러한 기술을 사용하는 사용자라면 익숙한 개념을 찾을 수 있을 것입니다.

검색이란 무엇인가요?

레코드 가게에 있다고 상상해 보세요. 선반에는 각각 문자가 표시되어 있는데, 이는 해당 문자로 이름이 시작되는 아티스트의 레코드가 들어 있음을 나타냅니다. '레터'로 시작하는 'L' 랙으로 가서 좋아하는 밴드를 찾을 때까지 레코드판을 샅샅이 뒤집니다: 레드 제플린입니다.

이 모든 경험이 일종의 검색입니다! ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’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
QuotationMarkI 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
QuotationMarkI’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
QuotationMarkI'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.
Mark W.
Embedded Software Engineer

You might also like

Neo4j: The Definitive Guide

Neo4j: The Definitive Guide

Luanne Misquitta, Christophe Willemsen
Apache Iceberg: The Definitive Guide

Apache Iceberg: The Definitive Guide

Tomer Shiran, Jason Hughes, Alex Merced
Kafka: The Definitive Guide, 2nd Edition

Kafka: The Definitive Guide, 2nd Edition

Gwen Shapira, Todd Palino, Rajini Sivaram, Krit Petty

Publisher Resources

ISBN: 9798341664869