Tagged articles
5 articles
Page 1 of 1
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Dec 26, 2025 · Databases

How to Enable Accurate Code Search in Elasticsearch with an NGram Analyzer

This article analyzes the shortcomings of standard Elasticsearch analyzers for code search, presents a custom NGram analyzer combined with match_phrase queries, shows configuration and query examples, compares performance of different query types, and offers best‑practice guidelines and pitfalls to avoid when building a reliable code‑search system.

ElasticsearchNGramPython
0 likes · 13 min read
How to Enable Accurate Code Search in Elasticsearch with an NGram Analyzer
MaGe Linux Operations
MaGe Linux Operations
Jun 1, 2020 · Backend Development

Mastering Elasticsearch Analyzers: A Deep Dive into Tokenizers and Filters

This article explains how Elasticsearch uses Analyzer components—character filters, tokenizers, and token filters—to perform text analysis, reviews the built‑in analyzers such as standard, simple, stop, whitespace, keyword, pattern, language, ICU and IK, and provides practical _analyze API examples with code snippets and result screenshots.

ElasticsearchICU PluginIK Analyzer
0 likes · 11 min read
Mastering Elasticsearch Analyzers: A Deep Dive into Tokenizers and Filters
System Architect Go
System Architect Go
Sep 3, 2018 · Fundamentals

Understanding Elasticsearch Analyzer, Tokenizer, and Token Filters

This article explains the core components of Elasticsearch's full‑text search analysis—Analyzers, Tokenizers, and Token Filters—detailing their roles, building blocks, built‑in types, and how they combine to customize text processing for effective indexing and querying.

ElasticsearchFull‑Text SearchToken Filter
0 likes · 5 min read
Understanding Elasticsearch Analyzer, Tokenizer, and Token Filters