Re: LuceneTestCase altered the default query cache policy

2023-06-27 Thread Michael McCandless
Hi Yuan, [Disclaimer: I work in the same team at Amazon, customer facing product search, where we heavily use Lucene at high scale!] LuceneTestCase already has similar assertions, e.g. to confirm that no system properties were changed, no threads leaked, not too much static objects left reference

LuceneTestCase altered the default query cache policy

2023-06-26 Thread Yuan Xiao
Hello community, I am a developer that work for Amazon Product Search. Recently I have experienced a use scenario that I altered the IndexSearcher’s default query cache policy but some of our unit tests that extended to LuceneTestCase failed. It take me some time to figure it out LuceneTestCase