Skip to content

Implement N-gram indexer - #58

Merged
saki7 merged 16 commits into
mainfrom
implement-ngram
Aug 18, 2026
Merged

Implement N-gram indexer#58
saki7 merged 16 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.

Requires

@saki7 saki7 self-assigned this Aug 11, 2026
@saki7
saki7 force-pushed the implement-ngram branch 3 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

@saki7 saki7 mentioned this pull request Aug 13, 2026
@saki7 saki7 added the enhancement New feature or request label Aug 13, 2026
@saki7
saki7 force-pushed the implement-ngram branch 4 times, most recently from 4283ea6 to 5101c75 Compare August 17, 2026 02:16
@saki7
saki7 marked this pull request as ready for review August 18, 2026 13:28
@saki7
saki7 merged commit ce52ee9 into main Aug 18, 2026
26 checks passed
@saki7
saki7 deleted the implement-ngram branch August 18, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant