uschindler commented on issue #12501: URL: https://github.com/apache/lucene/issues/12501#issuecomment-1674970444
The general rule is: If you want to change the index postings format (but nothing else like codec itsself) when writing a new index, you need to subclass default codec. By that it keeps its name and code reading the index will look it up. If you add a completely new postings format, subclass abstract base class, give it a new name and register it in SPI. If you just want to change settings you can reuse the postings format by instantiating it in the codec with different settings. -- 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