Github user mikemccand commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/516#discussion_r239426275
--- Diff:
lucene/backward-codecs/src/java/org/apache/lucene/codecs/lucene70/Lucene70Codec.java
---
@@ -66,7 +67,7 @@ public PostingsFormat getPostingsFormatForField(String
field) {
private final DocValuesFormat docValuesFormat = new
PerFieldDocValuesFormat() {
@Override
public DocValuesFormat getDocValuesFormatForField(String field) {
- throw new IllegalStateException("This codec should only be used for
reading, not writing");
+ return defaultDVFormat;
--- End diff --
Ahh this is because the DV updates must also be written with the old codec?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]