lib: rename support-ngrams => ngrams-enabled

For consistency.
This commit is contained in:
Dirk-Jan C. Binnema
2026-07-22 17:34:13 +03:00
committed by Seth Ladygo
parent a347d3ada0
commit d24347bad6
7 changed files with 11 additions and 11 deletions

View File

@ -79,7 +79,7 @@ make_term_generator(Xapian::Document& doc, Document::Options opts)
{
Xapian::TermGenerator termgen;
if (any_of(opts & Document::Options::SupportNgrams))
if (any_of(opts & Document::Options::NgramsEnabled))
termgen.set_flags(Xapian::TermGenerator::FLAG_NGRAMS);
termgen.set_document(doc);