Skip to content

Commit 4952cff

Browse files
authored
Update README.md
1 parent cedfe72 commit 4952cff

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ SilverStripe\Forager\Service\IndexConfiguration:
5252
5353
### File attachments for content extraction
5454
55+
Firstly, you will need to set this environment variable. This will apply an extension to the `File` class, and allow
56+
you to use the `_attachment` field (detailed below).
57+
58+
```yaml
59+
SEARCH_INDEX_FILES=1
60+
```
61+
5562
Silverstripe Search supports content extraction for many different file types. These can be attached to your Documents
5663
using an `_attachment` field of type `binary`.
5764

0 commit comments

Comments
 (0)