Re: RamUsageEstimator hangs with AOT compilation

2020-01-06 Thread Dawid Weiss
Thank you - I filed an issue for this, we will investigate. https://issues.apache.org/jira/browse/LUCENE-9117 Dawid On Mon, Jan 6, 2020 at 11:39 PM Cleber Muramoto wrote: > > After generating a pre-compiled image lucene-core (8.3.0) with jaotc (JDK > 13.0.1), RamUsageEstimator class is never lo

RamUsageEstimator hangs with AOT compilation

2020-01-06 Thread Cleber Muramoto
After generating a pre-compiled image lucene-core (8.3.0) with jaotc (JDK 13.0.1), RamUsageEstimator class is never loaded - it fails to complete the static initializer. Steps to reproduce: 1)Generate the image with >jaotc --info --ignore-errors --jar >~/.m2/repository/org/apache/lucene/lucen

Re: Needs advice on auto-keyword-correction mode custom query

2020-01-06 Thread Mikhail Khludnev
I think you need to search A for single doc with early termination. And then search for either A or B. The closest conditional logic query is WAND, but it doesn't do what's asked here. btw, IndexSearcher combines Indices, and Queries. On Mon, Jan 6, 2020 at 7:33 AM 小鱼儿 wrote: > Hi everybody, > >