Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Vector Search for Practitioners with Elastic
  • Table Of Contents Toc
Vector Search for Practitioners with Elastic

Vector Search for Practitioners with Elastic

By : Bahaaldine Azarmi, Jeff Vestal
4.9 (15)
close
close
Vector Search for Practitioners with Elastic

Vector Search for Practitioners with Elastic

4.9 (15)
By: Bahaaldine Azarmi, Jeff Vestal

Overview of this book

While natural language processing (NLP) is largely used in search use cases, this book aims to inspire you to start using vectors to overcome equally important domain challenges like observability and cybersecurity. The chapters focus mainly on integrating vector search with Elastic to enhance not only their search but also observability and cybersecurity capabilities. The book, which also features a foreword written by the founder of Elastic, begins by teaching you about NLP and the functionality of Elastic in NLP processes. Here you’ll delve into resource requirements and find out how vectors are stored in the dense-vector type along with specific page cache requirements for fast response times. As you advance, you’ll discover various tuning techniques and strategies to improve machine learning model deployment, including node scaling, configuration tuning, and load testing with Rally and Python. You’ll also cover techniques for vector search with images, fine-tuning models for improved performance, and the use of clip models for image similarity search in Elasticsearch. Finally, you’ll explore retrieval-augmented generation (RAG) and learn to integrate ChatGPT with Elasticsearch to leverage vectorized data, ELSER's capabilities, and RRF's refined search mechanism. By the end of this NLP book, you’ll have all the necessary skills needed to implement and optimize vector search in your projects with Elastic.
Table of Contents (17 chapters)
close
close
Lock Free Chapter
1
Part 1:Fundamentals of Vector Search
4
Part 2: Advanced Applications and Performance Optimization
7
Part 3: Specialized Use Cases
12
Part 4: Innovative Integrations and Future Directions

Performance Tuning – Working with Data

In the previous chapter, we covered how to integrate Elasticsearch with machine learning (ML) models. In this chapter, we’ll focus on optimizing vector search performance in Elasticsearch.

The topics we will cover include the following:

  • ML model deployment tuning techniques
  • Estimating vector capacity for an Elasticsearch node
  • Load testing with Elastic’s performance tool, Rally
  • Troubleshooting slow k-nearest neighbor (kNN) search response times

By the end of this chapter, you will understand how to estimate the number of Elasticsearch nodes required for your use case, how to use performance benchmarking to ensure those estimates are in line with your requirements, and identify potential causes for slow kNN search response times.

Let’s begin by deploying a natural language processing (NLP) model.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Vector Search for Practitioners with Elastic
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon