Skip to content

feat(index): heading-level markdown chunking#28

Merged
epicsagas merged 1 commit into
mainfrom
orbit-alcove-indexing
Jun 8, 2026
Merged

feat(index): heading-level markdown chunking#28
epicsagas merged 1 commit into
mainfrom
orbit-alcove-indexing

Conversation

@epicsagas

Copy link
Copy Markdown
Owner

Summary

마크다운 파일을 ## 헤딩 기준으로 의미 단위 청킹합니다. 기존 단순 문자 분할보다 검색 품질이 향상됩니다.

Changes

  • src/index/chunker.rs: chunk_content_md()## 헤딩 기반 섹션 분할, 최대 2400자 초과 시 2차 분할
  • .md/.markdown 파일은 자동으로 헤딩 청킹 라우팅

Notes

  • ## 헤딩 없을 경우 기존 문자 기반 청킹으로 폴백
  • 짧은 섹션(<50자)은 다음 섹션에 병합
  • 각 서브청크에 ## {heading} 접두어 유지 (title 추출 호환)
  • main 위로 rebase 완료 (orbit-multi-doc-root 충돌 해결 포함)

@epicsagas epicsagas merged commit e14952d into main Jun 8, 2026
6 of 13 checks passed
@epicsagas epicsagas deleted the orbit-alcove-indexing branch June 8, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant