From 7ff33854a50634ef32167da4b105067c24e59a9e Mon Sep 17 00:00:00 2001 From: Chris Tam Date: Sat, 30 Dec 2023 04:10:52 -0500 Subject: [PATCH] Update doc comments on fast fields (#181) --- src/schemabuilder.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/schemabuilder.rs b/src/schemabuilder.rs index 2c2d013..c59e539 100644 --- a/src/schemabuilder.rs +++ b/src/schemabuilder.rs @@ -115,7 +115,7 @@ impl SchemaBuilder { /// content of the field can be later restored from a Searcher. /// Defaults to False. /// indexed (bool, optional): If true sets the field to be indexed. - /// fast (str, optional): Set the numeric options as a fast field. A + /// fast (bool, optional): Set the numeric options as a fast field. A /// fast field is a column-oriented fashion storage for tantivy. /// It is designed for the fast random access of some document /// fields given a document id. @@ -152,7 +152,7 @@ impl SchemaBuilder { /// content of the field can be later restored from a Searcher. /// Defaults to False. /// indexed (bool, optional): If true sets the field to be indexed. - /// fast (str, optional): Set the numeric options as a fast field. A + /// fast (bool, optional): Set the numeric options as a fast field. A /// fast field is a column-oriented fashion storage for tantivy. /// It is designed for the fast random access of some document /// fields given a document id. @@ -189,7 +189,7 @@ impl SchemaBuilder { /// content of the field can be later restored from a Searcher. /// Defaults to False. /// indexed (bool, optional): If true sets the field to be indexed. - /// fast (str, optional): Set the numeric options as a fast field. A + /// fast (bool, optional): Set the numeric options as a fast field. A /// fast field is a column-oriented fashion storage for tantivy. /// It is designed for the fast random access of some document /// fields given a document id. @@ -226,7 +226,7 @@ impl SchemaBuilder { /// content of the field can be later restored from a Searcher. /// Defaults to False. /// indexed (bool, optional): If true sets the field to be indexed. - /// fast (str, optional): Set the numeric options as a fast field. A + /// fast (bool, optional): Set the numeric options as a fast field. A /// fast field is a column-oriented fashion storage for tantivy. /// It is designed for the fast random access of some document /// fields given a document id. @@ -263,7 +263,7 @@ impl SchemaBuilder { /// content of the field can be later restored from a Searcher. /// Defaults to False. /// indexed (bool, optional): If true sets the field to be indexed. - /// fast (str, optional): Set the date options as a fast field. A fast + /// fast (bool, optional): Set the date options as a fast field. A fast /// field is a column-oriented fashion storage for tantivy. It is /// designed for the fast random access of some document fields /// given a document id. @@ -386,7 +386,7 @@ impl SchemaBuilder { /// content of the field can be later restored from a Searcher. /// Defaults to False. /// indexed (bool, optional): If true sets the field to be indexed. - /// fast (str, optional): Set the bytes options as a fast field. A fast + /// fast (bool, optional): Set the bytes options as a fast field. A fast /// field is a column-oriented fashion storage for tantivy. It is /// designed for the fast random access of some document fields /// given a document id. @@ -433,7 +433,7 @@ impl SchemaBuilder { /// content of the field can be later restored from a Searcher. /// Defaults to False. /// indexed (bool, optional): If true sets the field to be indexed. - /// fast (str, optional): Set the IP address options as a fast field. A + /// fast (bool, optional): Set the IP address options as a fast field. A /// fast field is a column-oriented fashion storage for tantivy. It /// is designed for the fast random access of some document fields /// given a document id.