xiangfu0 commented on code in PR #11857: URL: https://github.com/apache/pinot/pull/11857#discussion_r1381107895
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/store/TextIndexUtils.java: ########## @@ -43,9 +43,9 @@ private TextIndexUtils() { static void cleanupTextIndex(File segDir, String column) { // Remove the lucene index file and potentially the docId mapping file. - File luceneIndexFile = new File(segDir, column + Indexes.LUCENE_TEXT_INDEX_FILE_EXTENSION); + File luceneIndexFile = new File(segDir, column + Indexes.LUCENE_V9_TEXT_INDEX_FILE_EXTENSION); Review Comment: I feel we should delete v8 index after next version? In case user want to downgrade/rollback. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org