Skip to content

Commit a5188f8

Browse files
update based on review
1 parent 93210be commit a5188f8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

learn/core_concepts/documents.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ A document is an object composed of one or more fields. Each field consists of a
88

99
### Important terms
1010

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
1616

1717
## Fields
1818

@@ -28,7 +28,9 @@ You can apply [ranking rules](/learn/core_concepts/relevancy.md#ranking-rules) t
2828

2929
### Displayed and searchable fields
3030

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:
3234

3335
- Searchable but not displayed
3436
- Displayed but not searchable

0 commit comments

Comments
 (0)