Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions for getpapers #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion textIndexing/solr/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Solr uses the `bin/post` command to index documents. You point the command at a

Let's assume you are going to search for papers on COVID-19. The following commands will retrieve papers and index them in Solr:
```bash
getpapers -q -x -p "COVID-19" -o getpapers/covid19 # the -x and -p switches download the fult text as XML and PDFs
getpapers -q "COVID-19" -x -p -o getpapers/covid19 # the -x and -p switches download the fult text as XML and PDFs
petermr marked this conversation as resolved.
Show resolved Hide resolved
sudo su - solr -c "/opt/solr/bin/post -c getpapers /home/clyde/getpapers"
```
Solr adds all the files in **getpapers** and subdirectories to its index. If a file exists then it simply overwrites the index information.
Expand Down