Tony-X commented on PR #12552:
URL: https://github.com/apache/lucene/pull/12552#issuecomment-1719878383

   @mikemccand hey Mike, I did not make a new Codec for this. IIRC, 
`FSTPostingsFormat` will be exercised by the RandomCodec. Also there is 
`TestFSTPostingsFormat extends BasePostingsFormatTestCase` that tested this 
PostingsFormat. 
   
   Oh wait, I see that the test target support `-Dtests.postingsformat` to 
override posting format. So I ran `./gradlew test -Dtests.postingsformat=FST50
   ` and all tests passed.
   
   Since the successful output doesn't provide randomization info, I also ran 
with an non-existent postings format `./gradlew test 
-Dtests.postingsformat=FST5x` and it failed, which means the override is 
happening. 
   `


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