[ANNOUNCE] Apache Lucene 9.7.0 released

2023-06-26 Thread Adrien Grand
The Lucene PMC is pleased to announce the release of Apache Lucene 9.7.0. Apache Lucene is a high-performance, full-featured search engine library written entirely in Java. It is a technology suitable for nearly any application that requires structured search, full-text search, faceting,

Re: Relative cpu cost of fetching term frequency during scoring

2023-06-26 Thread Adrien Grand
This is a bit surprising, can you share the profiler output (e.g. screenshot), to see what is slow within the `PostingsEnum#freq` call? `PostingsEnum#freq` may need to decode a block of freqs, but I would generally not expect it to be 5x slower than decoding doc IDs for the same block. On Thu,

Getting LinkageError due to Panama APIs

2023-06-26 Thread Shubham Chaudhary
Hi everyone, I’m trying to build and run my software using JDK 19 which has a direct dependency on Apache Lucene 9.6 built with JDK 17 and I’m running into below exception due to Panama APIs. Is this expected behaviour? Any help would be highly appreciated. Exception in thread "main"

Re: How to Safely Rollback after Upgrading Lucene?

2023-06-26 Thread Yixun Xu
That makes sense, thank you. These steps would work, and the caveat is that my service doesn't have a very clear separation between "indexing code" and "application code", so I'll likely need to do some refactoring before using this solution, but I'll look into it. I also found that Lucene has

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