From 53c4b8346c164e87e4de38b87e5c0191937f91e6 Mon Sep 17 00:00:00 2001 From: trinity Pointard Date: Thu, 18 Dec 2025 17:06:41 +0100 Subject: [PATCH] add small doc on some queries using fast field when not indexed --- src/schema/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/schema/mod.rs b/src/schema/mod.rs index 1cd4b7243..c8af359d9 100644 --- a/src/schema/mod.rs +++ b/src/schema/mod.rs @@ -98,6 +98,10 @@ //! make it possible to access the value given the doc id rapidly. This is useful if the value //! of the field is required during scoring or collection for instance. //! +//! Some queries may leverage Fast fields when run on a field that is not indexed. This can be +//! handy if that kind of request is infrequent, however note that searching on a Fast field is +//! generally much slower than searching in an index. +//! //! ``` //! use tantivy::schema::*; //! let mut schema_builder = Schema::builder();