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

Remove appassembler-maven-plugin #2444

Merged
merged 3 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Next Next commit
Remove appassembler-maven-plugin
  • Loading branch information
lintool committed Apr 6, 2024
commit a193811ff1ee96e977075a18fe14e41e7175b9ed
2 changes: 1 addition & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

mvn clean package appassembler:assemble
mvn clean package
2 changes: 1 addition & 1 deletion bin/qbuild.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

mvn clean package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
3 changes: 3 additions & 0 deletions bin/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

java -cp `ls target/*-fatjar.jar` -Xms512M -Xmx64G --add-modules jdk.incubator.vector $@
3 changes: 3 additions & 0 deletions bin/trec_eval
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

java -cp `ls target/*-fatjar.jar` -Xms512M -Xmx64G --add-modules jdk.incubator.vector trec_eval $@
14 changes: 7 additions & 7 deletions docs/regressions/regressions-backgroundlinking18.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ python src/main/python/run_regression.py --index --verify --search --regression
Typical indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection WashingtonPostCollection \
-input /path/to/wapo.v2 \
-generator WashingtonPostGenerator \
Expand All @@ -42,21 +42,21 @@ They are downloaded from NIST:
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v2/ \
-topics tools/topics-and-qrels/topics.backgroundlinking18.txt \
-topicReader BackgroundLinking \
-output runs/run.wapo.v2.bm25.topics.backgroundlinking18.txt \
-backgroundLinking -backgroundLinking.k 100 -bm25 -hits 100 &

target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v2/ \
-topics tools/topics-and-qrels/topics.backgroundlinking18.txt \
-topicReader BackgroundLinking \
-output runs/run.wapo.v2.bm25+rm3.topics.backgroundlinking18.txt \
-backgroundLinking -backgroundLinking.k 100 -bm25 -rm3 -hits 100 &

target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v2/ \
-topics tools/topics-and-qrels/topics.backgroundlinking18.txt \
-topicReader BackgroundLinking \
Expand All @@ -67,11 +67,11 @@ target/appassembler/bin/SearchCollection \
Evaluation can be performed using `trec_eval`:

```
target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking18.txt runs/run.wapo.v2.bm25.topics.backgroundlinking18.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking18.txt runs/run.wapo.v2.bm25.topics.backgroundlinking18.txt

target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking18.txt runs/run.wapo.v2.bm25+rm3.topics.backgroundlinking18.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking18.txt runs/run.wapo.v2.bm25+rm3.topics.backgroundlinking18.txt

target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking18.txt runs/run.wapo.v2.bm25+rm3+df.topics.backgroundlinking18.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking18.txt runs/run.wapo.v2.bm25+rm3+df.topics.backgroundlinking18.txt
```

## Effectiveness
Expand Down
14 changes: 7 additions & 7 deletions docs/regressions/regressions-backgroundlinking19.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ python src/main/python/run_regression.py --index --verify --search --regression
Typical indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection WashingtonPostCollection \
-input /path/to/wapo.v2 \
-generator WashingtonPostGenerator \
Expand All @@ -42,21 +42,21 @@ They are downloaded from NIST:
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v2/ \
-topics tools/topics-and-qrels/topics.backgroundlinking19.txt \
-topicReader BackgroundLinking \
-output runs/run.wapo.v2.bm25.topics.backgroundlinking19.txt \
-backgroundLinking -backgroundLinking.k 100 -bm25 -hits 100 &

target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v2/ \
-topics tools/topics-and-qrels/topics.backgroundlinking19.txt \
-topicReader BackgroundLinking \
-output runs/run.wapo.v2.bm25+rm3.topics.backgroundlinking19.txt \
-backgroundLinking -backgroundLinking.k 100 -bm25 -rm3 -hits 100 &

target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v2/ \
-topics tools/topics-and-qrels/topics.backgroundlinking19.txt \
-topicReader BackgroundLinking \
Expand All @@ -67,11 +67,11 @@ target/appassembler/bin/SearchCollection \
Evaluation can be performed using `trec_eval`:

```
target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking19.txt runs/run.wapo.v2.bm25.topics.backgroundlinking19.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking19.txt runs/run.wapo.v2.bm25.topics.backgroundlinking19.txt

target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking19.txt runs/run.wapo.v2.bm25+rm3.topics.backgroundlinking19.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking19.txt runs/run.wapo.v2.bm25+rm3.topics.backgroundlinking19.txt

target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking19.txt runs/run.wapo.v2.bm25+rm3+df.topics.backgroundlinking19.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking19.txt runs/run.wapo.v2.bm25+rm3+df.topics.backgroundlinking19.txt
```

## Effectiveness
Expand Down
14 changes: 7 additions & 7 deletions docs/regressions/regressions-backgroundlinking20.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ python src/main/python/run_regression.py --index --verify --search --regression
Typical indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection WashingtonPostCollection \
-input /path/to/wapo.v3 \
-generator WashingtonPostGenerator \
Expand All @@ -42,21 +42,21 @@ They are downloaded from NIST:
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v3/ \
-topics tools/topics-and-qrels/topics.backgroundlinking20.txt \
-topicReader BackgroundLinking \
-output runs/run.wapo.v3.bm25.topics.backgroundlinking20.txt \
-backgroundLinking -backgroundLinking.k 100 -bm25 -hits 100 &

target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v3/ \
-topics tools/topics-and-qrels/topics.backgroundlinking20.txt \
-topicReader BackgroundLinking \
-output runs/run.wapo.v3.bm25+rm3.topics.backgroundlinking20.txt \
-backgroundLinking -backgroundLinking.k 100 -bm25 -rm3 -hits 100 &

target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.wapo.v3/ \
-topics tools/topics-and-qrels/topics.backgroundlinking20.txt \
-topicReader BackgroundLinking \
Expand All @@ -67,11 +67,11 @@ target/appassembler/bin/SearchCollection \
Evaluation can be performed using `trec_eval`:

```
target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking20.txt runs/run.wapo.v3.bm25.topics.backgroundlinking20.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking20.txt runs/run.wapo.v3.bm25.topics.backgroundlinking20.txt

target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking20.txt runs/run.wapo.v3.bm25+rm3.topics.backgroundlinking20.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking20.txt runs/run.wapo.v3.bm25+rm3.topics.backgroundlinking20.txt

target/appassembler/bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking20.txt runs/run.wapo.v3.bm25+rm3+df.topics.backgroundlinking20.txt
bin/trec_eval -c -M1000 -m map -c -M1000 -m ndcg_cut.5 tools/topics-and-qrels/qrels.backgroundlinking20.txt runs/run.wapo.v3.bm25+rm3+df.topics.backgroundlinking20.txt
```

## Effectiveness
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Sample indexing command, building HNSW indexes:

```
target/appassembler/bin/IndexHnswDenseVectors \
bin/run.sh io.anserini.index.IndexHnswDenseVectors \
-collection JsonDenseVectorCollection \
-input /path/to/beir-v1.0.0-bge-base-en-v1.5 \
-generator HnswDenseVectorDocumentGenerator \
Expand All @@ -52,7 +52,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchHnswDenseVectors \
bin/run.sh io.anserini.search.SearchHnswDenseVectors \
-index indexes/lucene-hnsw.beir-v1.0.0-arguana-bge-base-en-v1.5-int8/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.tsv.gz \
-topicReader TsvString \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Sample indexing command, building HNSW indexes:

```
target/appassembler/bin/IndexHnswDenseVectors \
bin/run.sh io.anserini.index.IndexHnswDenseVectors \
-collection JsonDenseVectorCollection \
-input /path/to/beir-v1.0.0-bge-base-en-v1.5 \
-generator HnswDenseVectorDocumentGenerator \
Expand All @@ -52,7 +52,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchHnswDenseVectors \
bin/run.sh io.anserini.search.SearchHnswDenseVectors \
-index indexes/lucene-hnsw.beir-v1.0.0-arguana-bge-base-en-v1.5-int8/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.bge-base-en-v1.5.jsonl.gz \
-topicReader JsonStringVector \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Sample indexing command, building HNSW indexes:

```
target/appassembler/bin/IndexHnswDenseVectors \
bin/run.sh io.anserini.index.IndexHnswDenseVectors \
-collection JsonDenseVectorCollection \
-input /path/to/beir-v1.0.0-bge-base-en-v1.5 \
-generator HnswDenseVectorDocumentGenerator \
Expand All @@ -52,7 +52,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchHnswDenseVectors \
bin/run.sh io.anserini.search.SearchHnswDenseVectors \
-index indexes/lucene-hnsw.beir-v1.0.0-arguana-bge-base-en-v1.5/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.tsv.gz \
-topicReader TsvString \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Sample indexing command, building HNSW indexes:

```
target/appassembler/bin/IndexHnswDenseVectors \
bin/run.sh io.anserini.index.IndexHnswDenseVectors \
-collection JsonDenseVectorCollection \
-input /path/to/beir-v1.0.0-bge-base-en-v1.5 \
-generator HnswDenseVectorDocumentGenerator \
Expand All @@ -52,7 +52,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchHnswDenseVectors \
bin/run.sh io.anserini.search.SearchHnswDenseVectors \
-index indexes/lucene-hnsw.beir-v1.0.0-arguana-bge-base-en-v1.5/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.bge-base-en-v1.5.jsonl.gz \
-topicReader JsonStringVector \
Expand Down
4 changes: 2 additions & 2 deletions docs/regressions/regressions-beir-v1.0.0-arguana-flat-wp.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Typical indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection BeirFlatCollection \
-input /path/to/beir-v1.0.0-arguana-flat-wp \
-generator DefaultLuceneDocumentGenerator \
Expand All @@ -46,7 +46,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.beir-v1.0.0-arguana-flat-wp/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.wp.tsv.gz \
-topicReader TsvString \
Expand Down
4 changes: 2 additions & 2 deletions docs/regressions/regressions-beir-v1.0.0-arguana-flat.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Typical indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection BeirFlatCollection \
-input /path/to/beir-v1.0.0-arguana-flat \
-generator DefaultLuceneDocumentGenerator \
Expand All @@ -45,7 +45,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.beir-v1.0.0-arguana-flat/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.tsv.gz \
-topicReader TsvString \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Typical indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection BeirMultifieldCollection \
-input /path/to/beir-v1.0.0-arguana-multifield \
-generator DefaultLuceneDocumentGenerator \
Expand All @@ -46,7 +46,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.beir-v1.0.0-arguana-multifield/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.tsv.gz \
-topicReader TsvString \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Sample indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection JsonVectorCollection \
-input /path/to/beir-v1.0.0-arguana-splade-pp-ed \
-generator DefaultLuceneDocumentGenerator \
Expand All @@ -53,7 +53,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.beir-v1.0.0-arguana-splade-pp-ed/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.tsv.gz \
-topicReader TsvString \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Sample indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection JsonVectorCollection \
-input /path/to/beir-v1.0.0-arguana-splade-pp-ed \
-generator DefaultLuceneDocumentGenerator \
Expand All @@ -53,7 +53,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.beir-v1.0.0-arguana-splade-pp-ed/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.splade-pp-ed.tsv.gz \
-topicReader TsvString \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Typical indexing command:

```
target/appassembler/bin/IndexCollection \
bin/run.sh io.anserini.index.IndexCollection \
-collection JsonVectorCollection \
-input /path/to/beir-v1.0.0-arguana-unicoil-noexp \
-generator DefaultLuceneDocumentGenerator \
Expand All @@ -49,7 +49,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchCollection \
bin/run.sh io.anserini.search.SearchCollection \
-index indexes/lucene-index.beir-v1.0.0-arguana-unicoil-noexp/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-arguana.test.unicoil-noexp.tsv.gz \
-topicReader TsvString \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Sample indexing command, building HNSW indexes:

```
target/appassembler/bin/IndexHnswDenseVectors \
bin/run.sh io.anserini.index.IndexHnswDenseVectors \
-collection JsonDenseVectorCollection \
-input /path/to/beir-v1.0.0-bge-base-en-v1.5 \
-generator HnswDenseVectorDocumentGenerator \
Expand All @@ -52,7 +52,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchHnswDenseVectors \
bin/run.sh io.anserini.search.SearchHnswDenseVectors \
-index indexes/lucene-hnsw.beir-v1.0.0-bioasq-bge-base-en-v1.5-int8/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-bioasq.test.tsv.gz \
-topicReader TsvString \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ After download and unpacking the corpora, the `run_regression.py` command above
Sample indexing command, building HNSW indexes:

```
target/appassembler/bin/IndexHnswDenseVectors \
bin/run.sh io.anserini.index.IndexHnswDenseVectors \
-collection JsonDenseVectorCollection \
-input /path/to/beir-v1.0.0-bge-base-en-v1.5 \
-generator HnswDenseVectorDocumentGenerator \
Expand All @@ -52,7 +52,7 @@ Topics and qrels are stored [here](https://github.com/castorini/anserini-tools/t
After indexing has completed, you should be able to perform retrieval as follows:

```
target/appassembler/bin/SearchHnswDenseVectors \
bin/run.sh io.anserini.search.SearchHnswDenseVectors \
-index indexes/lucene-hnsw.beir-v1.0.0-bioasq-bge-base-en-v1.5-int8/ \
-topics tools/topics-and-qrels/topics.beir-v1.0.0-bioasq.test.bge-base-en-v1.5.jsonl.gz \
-topicReader JsonStringVector \
Expand Down
Loading