Skip to content

Commit

Permalink
Fix incorrect Discard Languages example.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed May 5, 2022
1 parent d4af7c6 commit 1059bc6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/filters-rdd.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ import io.archivesunleashed._

val languages = Array("en", "fr")

RecordLoader.loadArchives("/path/to/warcs",sc).keepLanguages(languages)
RecordLoader.loadArchives("/path/to/warcs",sc).discardLanguages(languages)
```

## Discard Content
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.80.0/filters-rdd.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ import io.archivesunleashed._

val languages = Set("en", "fr")

RecordLoader.loadArchives("/path/to/warcs",sc).keepLanguages(languages)
RecordLoader.loadArchives("/path/to/warcs",sc).discardLanguages(languages)
```

## Discard Content
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.90.3/filters-rdd.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ import io.archivesunleashed._

val languages = Array("en", "fr")

RecordLoader.loadArchives("/path/to/warcs",sc).keepLanguages(languages)
RecordLoader.loadArchives("/path/to/warcs",sc).discardLanguages(languages)
```

## Discard Content
Expand Down

0 comments on commit 1059bc6

Please sign in to comment.