How to Safely Rollback after Upgrading Lucene?

2023-06-23 Thread Yixun Xu
haviors when the codec is used with Lucene 9? 2. Is there an alternative solution to support rollbacks? Any help would be greatly appreciated! Best regards, Yixun Xu (*) I'm not really worried about the Lucene upgrade itself, but I have less confidence in the changes I make alongside the u

Re: How to Safely Rollback after Upgrading Lucene?

2023-06-24 Thread Yixun Xu
which time we'll lose the ability to rollback without reindex anyways, but ideally I'd like to make that a separate step from the Lucene upgrade, and possibly apply the codec upgrade gradually per index. Best regards, Yixun Xu On Fri, Jun 23, 2023 at 8:19 PM Steven Schlansker < ste

Re: How to Safely Rollback after Upgrading Lucene?

2023-06-26 Thread Yixun Xu
can also copy those into my code to keep writing indices in Lucene 8's format, and that would be another potential solution. Thanks everyone for the help! Best regards, Yixun Xu On Sat, Jun 24, 2023 at 2:42 PM Gautam Worah wrote: > Hi Yixun, > > Given that Lucene supports file

SpanMultiTermQueryWrapper with PrefixQuery hitting num clause limit

2024-03-28 Thread Yixun Xu
axClauseCount is set to 1024 // ``` TopDocs docs = new IndexSearcher(reader).search(query, 10); System.out.println(docs.totalHits); } dir.close(); } } ``` Thank you, Yixun Xu

Re: SpanMultiTermQueryWrapper with PrefixQuery hitting num clause limit

2024-03-28 Thread Yixun Xu
hing like: abc foo bar bar_" + UUID.randomUUID() > > but if you use an analyzer, then > bar_294e50e1-fc3c-450f-a04f-7b4ad79587d6 and its synonym "bar" will > sit at the same position, so your spans/sloppy-phrases will work fine. > > On Thu, Mar 28, 2024 at 11:37 AM Yixun Xu

Re: Lucene LRUQueryCache question

2024-07-16 Thread Yixun Xu
bably have sensible default behavior already, but if you need to change the behavior for your benchmark then you can try tuning these to make your queries cached. Best, Yixun Xu On Tue, Jul 2, 2024 at 9:26 AM Δημήτρης Κλειναυτάκης wrote: > Hi all, > I am using the Lucene 9.6 version and I a