You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -250,8 +250,17 @@ struct User {
250
250
name:String,
251
251
}
252
252
```
253
-
It's important to note that the more annotations that are added to a field the more index terms that will be generated. Adding too many attributes could result in a
254
-
proliferation of terms and data.
253
+
It's important to note that the more annotations that are added to a field the more index terms that will be generated.
254
+
Adding too many attributes could result in a proliferation of terms and data.
255
+
256
+
The previous example for example would have the following terms generated:
257
+
258
+
- One term for the exact index on email
259
+
- One term for the exact index on name
260
+
- Up to 25 terms for the prefix index on name
261
+
- Up to 25 terms for the compound index of email and name
262
+
263
+
This would mean a total of 53 records would be inserted.
Copy file name to clipboardExpand all lines: src/lib.rs
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -196,8 +196,17 @@
196
196
//! name: String,
197
197
//! }
198
198
//! ```
199
-
//! It's important to note that the more annotations that are added to a field the more index terms that will be generated. Adding too many attributes could result in a
200
-
//! proliferation of terms and data.
199
+
//! It's important to note that the more annotations that are added to a field the more index terms that will be generated.
200
+
//! Adding too many attributes could result in a proliferation of terms and data.
201
+
//!
202
+
//! The previous example for example would have the following terms generated:
203
+
//!
204
+
//! - One term for the exact index on email
205
+
//! - One term for the exact index on name
206
+
//! - Up to 25 terms for the prefix index on name
207
+
//! - Up to 25 terms for the compound index of email and name
208
+
//!
209
+
//! This would mean a total of 53 records would be inserted.
0 commit comments