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: learn/core_concepts/documents.md
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@ A document is an object composed of one or more fields. Each field consists of a
8
8
9
9
### Important terms
10
10
11
-
-**Document**: An object which contains data in the form of one or more fields
12
-
-**[Field](#fields)**: A set of two data items that are linked together: an attribute and a value
13
-
-**Attribute**: The first part of a field. Acts as a name or description for its associated value
14
-
-**Value**: The second part of a field, consisting of data of any valid JSON type
15
-
-**[Primary Field](#primary-field)**: A special field that is mandatory in all documents. It contains the primary key and document identifier
11
+
-**Document**: an object which contains data in the form of one or more fields
12
+
-**[Field](#fields)**: a set of two data items that are linked together: an attribute and a value
13
+
-**Attribute**: the first part of a field. Acts as a name or description for its associated value
14
+
-**Value**: the second part of a field, consisting of data of any valid JSON type
15
+
-**[Primary Field](#primary-field)**: a special field that is mandatory in all documents. It contains the primary key and document identifier
16
16
17
17
## Fields
18
18
@@ -28,7 +28,9 @@ You can apply [ranking rules](/learn/core_concepts/relevancy.md#ranking-rules) t
28
28
29
29
### Displayed and searchable fields
30
30
31
-
By default, all fields in a document are both displayed and searchable. You can modify this behavior using the [update settings endpoint](/reference/api/settings.md#update-settings), or the respective update endpoints for [displayed attributes](/reference/api/displayed_attributes.md#update-displayed-attributes), and [searchable attributes](/reference/api/searchable_attributes.md#update-searchable-attributes) so that a field is:
31
+
By default, all fields in a document are both displayed and searchable. Displayed fields are contained in each matching document, while searchable fields are searched for matching query words.
32
+
33
+
You can modify this behavior using the [update settings endpoint](/reference/api/settings.md#update-settings), or the respective update endpoints for [displayed attributes](/reference/api/displayed_attributes.md#update-displayed-attributes), and [searchable attributes](/reference/api/searchable_attributes.md#update-searchable-attributes) so that a field is:
0 commit comments