Skip to content

Implement N-gram indexer - #58

Draft
saki7 wants to merge 11 commits into
mainfrom
implement-ngram
Draft

Implement N-gram indexer#58
saki7 wants to merge 11 commits into
mainfrom
implement-ngram

Conversation

@saki7

@saki7 saki7 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

This kind of basic full-text search facility has recently been used in two of my own applications:

  1. Yu-Gi-Oh card search engine
  2. The "codex" (in-game lore database) system of my visual novel game

Following my personal rule that anything I end up implementing from scratch more than once across my own apps should be turned into a library, I'm submitting this to Iris.

This facility is well suited and is appropriate for Iris's scope because we don't generally want to import a gigantic text search framework in ordinary applications. Having this in Iris can potentially be an ideal choice for many use cases.

Note: due to the limited resources, I'm just submitting the implementation and unit tests without the documentation.

@saki7 saki7 self-assigned this Aug 11, 2026
@saki7
saki7 force-pushed the implement-ngram branch 2 times, most recently from 01d8c0a to e66263a Compare August 11, 2026 19:51
@cppwarningnotifier

This comment has been minimized.

@cppwarningnotifier

This comment has been minimized.

@cppwarningnotifier

Copy link
Copy Markdown
EnvironmentC++23C++26
irisClang22Debug✅success✅success
Release✅success✅success
GCC15Debug✅success✅success
Release✅success✅success
MSVC2026Debug✅success✅success
Release✅success✅success

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