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
CompressorParameters.NVQParameters.idStringFor (jvector-examples, util/CompressorParameters.java, line 89) formats "NVQ_%s_%d_%s" with only two arguments (ds.getName() and nSubVectors), so every call throws MissingFormatArgumentException.
NVQParameters.supportsCaching() returns true, so Grid.getCompressor calls idStringFor whenever an NVQParameters is used as a build or search compressor. Nothing constructs NVQParameters today, so the bug can't currently be triggered. It will fail as soon as NVQ is offered as a compressor option.
The bug has been there since e8d5c3c (#374). Fix: drop the trailing _%s.
Activity
Fix NVQParameters.idStringFor format string