Skip to content

Commit

Permalink
chore: update Tika version in readme (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasanfarah authored May 21, 2024
1 parent 65c8946 commit e07808b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ To get the binary, run:
go install github.com/google/go-tika/cmd/tika@latest
```

To download the Apache Tika 1.14 Server, check the MD5 sum, start the server in the background, and parse a file, run:
To download the Apache Tika 1.21 Server, check the MD5 sum, start the server in the background, and parse a file, run:

```bash
$(go env GOPATH)/bin/tika -filename /path/to/file/to/parse -download_version 1.14 parse
$(go env GOPATH)/bin/tika -filename /path/to/file/to/parse -download_version 1.21 parse
```

This will store `tika-server-1.14.jar` in your current working directory. If you want to control the output location of the JAR, add a `-server_jar /path/to/save/tika-server.jar` argument.
This will store `tika-server-1.21.jar` in your current working directory. If you want to control the output location of the JAR, add a `-server_jar /path/to/save/tika-server.jar` argument.

If you already have a downloaded Apache Tika Server JAR, you can specify it with the `-server_jar` flag and it will not be re-downloaded.

Expand Down

0 comments on commit e07808b

Please sign in to comment.