dungba88 commented on code in PR #12624: URL: https://github.com/apache/lucene/pull/12624#discussion_r1400634116
########## lucene/core/src/java/org/apache/lucene/util/fst/FST.java: ########## @@ -435,6 +433,13 @@ public FST(FSTMetadata<T> metadata, DataInput in, Outputs<T> outputs, FSTStore f this.fstReader = fstReader; } + /** + * @return true if and only if this FST is readable (i.e. has a reverse BytesReader) + */ + public boolean hasReverseBytesReader() { Review Comment: Yes, if the `FSTCompiler` is written to a non-FSTReader DataOutput, such as IndexOutput then it won't be readable. But this method has no use for now, I think I can remove it. -- 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