Some features require xapian-1.4+. See release notes at https://notmuchmail.org/news/release-0.24/
But it's only required for some of the features. Notmuch works both with new Xapian version and older one.
I have added postinst message if user has <dev-libs/xapian-1.4 that a feature is missing. Thanks!