Features currently marked for deprecation

Note

We have a separate list of all features that have been fully deprecated, with the version they were removed.

Native C++ API

Deprecated

Remove

Feature name

Upgrade suggestion and comments

1.4.11

3.0.0

Environment variable XAPIAN_CJK_NGRAM

If you require Xapian >= 1.4.23, specify via the flags Xapian::QueryParser::FLAG_NGRAMS, Xapian::TermGenerator::FLAG_NGRAMS and Xapian::MSet::SNIPPET_NGRAMS instead. If you want to be compatible with Xapian < 1.4.23 too, use Xapian::QueryParser::FLAG_CJK_NGRAM, Xapian::TermGenerator::FLAG_CJK_NGRAM and Xapian::MSet::SNIPPET_CJK_NGRAM.

2.0.0

3.0.0

TradWeight class

Since 2.0.0, TradWeight is just a thin subclass of BM25Weight. Instead of TradWeight(k) use Xapian::BM25Weight(k, 0, 0, 1, 0); instead of TradWeight() use Xapian::BM25Weight(1, 0, 0, 1, 0). Both replacements work with all older Xapian versions too.

2.0.0

3.0.0

Enquire::set_expansion_scheme() with "trad"" for eweightname

Use "prob" instead, supported by Xapian >= 1.4.26.

Bindings

Deprecated

Remove

Language

Feature name

Upgrade suggestion and comments

Omega

Deprecated

Remove

Feature name

Upgrade suggestion and comments

2.0.0

3.0.0

$set{weighting,trad k} and $set{weighting,trad}

Use $set{weighting,bm25 k 0 0 1 0} and $set{weighting,bm25 1 0 0 1 0} instead.