You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to initialize pre-built index msmarco-v1-passage-slimr-pp.
/Users/jimmylin/.cache/pyserini/indexes/lucene-index.msmarco-v1-passage-slimr-pp.20230220.17b2edd909bcda4980a93fb0ab87e72b already exists, skipping download.
Initializing msmarco-v1-passage-slimr-pp...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/jimmylin/workspace/pyserini/pyserini/index/lucene/_base.py", line 226, in from_prebuilt_index
index_reader.validate(prebuilt_index_name, verbose=verbose)
File "/Users/jimmylin/workspace/pyserini/pyserini/index/lucene/_base.py", line 273, in validate
raise ValueError('Pre-built index fails consistency check: "unique_terms" does not match!')
ValueError: Pre-built index fails consistency check: "unique_terms" does not match!
If we do:
We get the following error:
Note that the following works fine though:
Because the SLIM code path does not use
IndexReader.from_prebuilt_index
and hence bypasses the check.@alexlimh Any thoughts? Did you build a version of index that uses
--optimize
?The text was updated successfully, but these errors were encountered: