# Building a RAG pipeline for semantic code search: parsing and chunking

> Original title: Building a RAG Pipeline for Semantic Code Search: A Developer Diary and Field Notes

- Source: JetBrains AI Blog
- Published: 2026-09-17T12:39:40.000Z
- Bad Influence: https://badinfluence.news/items/zmt7u9po3zhbpb8ea33t7639v
- Original: https://blog.jetbrains.com/ai/2026/09/building-a-rag-pipeline-for-semantic-code-search-a-developer-diary-and-field-notes/

## Summary

JetBrains AI Blog describes building Air Context, a RAG pipeline that gives LLM agents citable code evidence by meaning rather than keyword. The first part covers parsing, chunking, and vectorization, arguing that fixed-size line chunks split related code and that structure-aware chunking based on language syntax keeps semantically related code together.
