dungba88 commented on code in PR #12980:
URL: https://github.com/apache/lucene/pull/12980#discussion_r1436285373


##########
lucene/codecs/src/java/org/apache/lucene/codecs/memory/FSTTermsWriter.java:
##########
@@ -278,6 +298,7 @@ public void finish(long sumTotalTermFreq, long sumDocFreq, 
int docCount) throws
       // save FST dict
       if (numTerms > 0) {
         final FST<FSTTermOutputs.TermData> fst = fstCompiler.compile();
+        fst.saveMetadata(metaOut);

Review Comment:
   This seems to be incorrect, we don't need to save the metadata here



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to