java.lang.WrongThreadException when build TermStates

2023-08-10 Thread Yuan Xiao
Hello Community, I am an engineer from Amazon Product Search and we recently encountered a WrongThreadException in our service when building TermStates with Lucene9.6 and JDK19.02+9. We are just using one thread when initializing term states. I am wondering if any other users encounter this prob

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

How to ignore system properties?

2022-09-19 Thread Yuan Xiao
We got system properties invariant errors from LuceneTestCase sometimes, which were brought up by our dependencies. Is there any way to ignore some system properties through annotation/settings?