-
Notifications
You must be signed in to change notification settings - Fork 52
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
Attempting to index the xml version of the Brown Corpus #443
Comments
Sorry to hear you're having a hard time getting up and running. I'd like to use your feedback to improve others' experience in the future.
The suggested location for In indexLocations:
- /data/blacklab I agree that BlackLab Server's error message could be clearer. I will see if I can make sure it tells you whether (a) it could not find
Other than the above, what sort of problems did you run into with Tomcat? Are you on Windows or Linux? Do you have any recommendations how to make the instructions clearer?
Sorry about that. It might be that they were correct at one point, but something changed and I forgot to update them. If you let me know the ones that didn't work for you (other than the above), I will correct them. By the way, instead of the Please let me know if this solves your problems. Suggestions to improve the documentation are appreciated. |
Thanks for your quick response. I have it working for now. The issue seems to have been that initially, I wanted all the files to be in a specific directory, so I didn't create a new
I think the key issue is that before, my .yaml was pointing to It might be helpful if the tutorial contains a step-by-step walkthrough for the example Brown Corpus, including the exact commands needed to index it and the exact .yaml file needed for Blacklab to be able to find it. For Tomcat, the documentation assumes familiarity with shell scripting, with daemons, services, systemctl, .conf files, etc., so it is a bit heavy going and takes a while to get right. Thanks again for your help, and I'm sure I'll post more questions as I continue testing and continue to make dumb mistakes 😄 |
Good to hear it works!
( I've made some changes to the Getting Started page, adding specific commands for setting up BlackLab Server. Hopefully that makes things a bit clearer. I will look at improving the error messages soon, see #444. |
It appears that |
I've managed to get through some of the "Getting Started" section, although the installation and setup of Apache Tomcat was bafflingly complex and some of the commands in the Blacklab tutorial were not correct. Now I am stuck here: The following command seems to index the Brown file, which is in the ../tmp directory, and successfully creates a test-index directory.
However, the blacklab server cannot see it.
I have put the
blacklab-server.yaml
in the webapps folder in Tomcat, in the same folder as blacklab-3.0.1.jar, and in an etc/blacklab directory in the blacklab-core-3.0.1 directory.In the
blacklab-server.yaml
file, I have tried the relative path to /data/blacklab-corpora from the directory where blacklab-3.0.1.jar is located as well as the absolute path from the root of the file system. Neither seem to work.What am I doing wrong?
The text was updated successfully, but these errors were encountered: