-
Notifications
You must be signed in to change notification settings - Fork 457
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
Problem with indexing ACLAnthology #2109
Comments
Hi @mobehbooei, let me try to set up Solr and get back to you on that issue. In the meantime, you can build an index for the ACL Anthology collection using Pyserini as described in this guide. A sample of building the index using Pyserini can also be seen in the "Steps to reproduce" section of this issue |
I think this is because the README is not up to date, since anserini moved to lucene 9.3 since 02/08/22 2725655) support for Elastic Search and Solr was dropped (#1951). |
Hi @mobehbooei - yes, support for Solr has been dropped, so we should go back to direct Anserini indexing. The commands on this issue should work: #2069 i.e.,
Can you please try it out and then update this page accordingly? https:/castorini/anserini/blob/master/docs/acl-anthology.md Send PR directly please. |
Hi everyone @ygorg @aryamancodes @lintool - Thanks for the responses. I tried the pyserini approach but I still have some issues same as #2069
and then lots of this error:
Tried this and this to prevent yaml from creating aliases which can't be parsed by anserini but still have the same error! |
You might not have the latest version the AclAnthology.java file. Because in the latest version the error message is more verbose. Try updating the file or cloning the latest version of anserini. |
Thanks @ygorg. That worked. It needed the Development Installation of pyserini to have the latest versions. |
Closing - ref: #2126 and castorini/pyserini#1537 |
Hi @ygorg and @aryamancodes
I tried to follow https:/castorini/anserini/blob/master/docs/acl-anthology.md but it seems something is missing in the instructions.
first I did the Solr deploying instructions according to https:/castorini/anserini/blob/master/docs/solrini.md .
I executed
python bin/create_hugo_yaml.py
successfully and have the generated files in theacl-anthology/build/data/
directory.I tried to run the
sh src/main/resources/solr/setup/acl-anthology.sh
step but but in the previous steps thesolr/setup
directory has not been created and I don't have theacl-anthology.sh
file anywhere!(also there is the same problem when I followed https:/castorini/anserini/blob/master/docs/solrini.md in running
pushd src/main/resources/solr && ./solr.sh ../../../../solrini localhost:9983 && popd
)Am I missing some part of the instructions? I was wondering if you could help me through this?
The text was updated successfully, but these errors were encountered: