zacharymorn commented on pull request #128:
URL: https://github.com/apache/lucene/pull/128#issuecomment-848533196
I just tried to run `CheckIndex#checkIndex` via command line with index
built for other task, but it failed from `Version` check (even without my
latest changes):
```
if (major > 255 || major < 0) {
throw new IllegalArgumentException("Illegal major version: " + major);
}
```
I'll dig into that more tomorrow.
From the unit test `TestCheckIndex#testCheckIndexAllValid`, I'm able to get
this log output:
```
0.00% total deletions; 5 documents; 0 deleteions
Segments file=segments_1 numSegments=1 version=9.0.0
id=bqdz36uoui8ymz6pd2tp9wmet
1 of 1: name=_0 maxDoc=5
version=9.0.0
id=bqdz36uoui8ymz6pd2tp9wmeq
codec=Asserting(Lucene90)
compound=false
numFiles=26
sort=<int: "sort_field">!
size (MB)=0.004
diagnostics = {source=flush, os.arch=x86_64,
java.runtime.version=11.0.9+11, os.version=10.15.5, java.vendor=AdoptOpenJDK,
os=Mac OS X, timestamp=1622013701421, java.version=11.0.9,
java.vm.version=11.0.9+11, lucene.version=9.0.0}
no deletions
test: open reader.........OK [took 0.004 sec]
test: check integrity.....OK [took 0.001 sec]
test: check live docs.....OK [took 0.000 sec]
test: field infos.........OK [8 fields] [took 0.000 sec]
test: field norms.........OK [1 fields] [took 0.000 sec]
test: stored fields.......OK [8 total field count; avg 1.6 fields per
doc] [took 0.001 sec]
test: terms, freq, prox...OK [5 terms; 8 terms/docs pairs; 12 tokens]
[took 0.004 sec]
test: docvalues...........OK [2 docvalues fields; 0 BINARY; 2 NUMERIC; 0
SORTED; 0 SORTED_NUMERIC; 0 SORTED_SET] [took 0.002 sec]
test: term vectors........OK [4 total term vector count; avg 1.0
term/freq vector fields per doc] [took 0.006 sec]
test: vectors..............OK [2 fields, 8 vectors] [took 0.001 sec]
test: index sort..........OK [took 0.002 sec]
test: check soft deletes.....
test: points..............OK [1 fields, 4 points] [took 0.005 sec]
No problems were detected with this index.
Took 0.046 sec total.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]