Re: Can an indexreader/indexsearcher survive index edits?

2021-09-22 Thread Gautam Worah
ions/45275557/lucene-near-real-time-search> - Gautam Worah. On Wed, Sep 22, 2021 at 1:10 PM Trevor Nicholls wrote: > Hi > > > > Lucene 8.6.3 > > > > In a prototype application I build a Lucene index with a single process and > query it with another. Every operati

Re: Java 17 and Lucene

2021-10-18 Thread Gautam Worah
Apache Derby mailing list). - Gautam Worah. On Mon, Oct 18, 2021 at 3:02 PM Michael McCandless < luc...@mikemccandless.com> wrote: > Also, I try to semi-aggressively upgrade Lucene's nightly benchmarks to new > JDK releases and leave an annotation on the nightly charts: &g

Re: Java 17 and Lucene

2021-10-19 Thread Gautam Worah
e see is because we have forked the class and have modified it a bit. I just assumed that the upstream Lucene package would've also gotten errors on the JDK17 build because it was untouched. - Gautam Worah. On Tue, Oct 19, 2021 at 5:07 AM Michael Sokolov wrote: > > I would a bit caref

Re: Java 17 and Lucene

2022-01-31 Thread Gautam Worah
matches what Uwe described in an earlier email. Regards, Gautam Worah. On Wed, Oct 27, 2021 at 1:13 AM Robert Muir wrote: > Or just keep your small heap and tweak the 200ms target to be a lower > value. It is just a JVM parameter, and it is dumb as rocks: > > That 200ms constant does

Re: IndexSearcher and IndexWriter.rollback

2022-04-15 Thread Gautam Worah
to rollback to a commit without closing the writer. Hope this helps. Gautam Worah. On Thu, Apr 14, 2022 at 6:35 AM wrote: > I’m using an IndexSearcher created from an IndexWriter (NRT mode). > > Up until now the IW was kept open forever. > > I want to properly handle cases whe

Re: How to Safely Rollback after Upgrading Lucene?

2023-06-24 Thread Gautam Worah
Hi Yixun, Given that Lucene supports file format backwards compatibility for X-1 major version release with version X application code, https://cwiki.apache.org/confluence/display/lucene/BackwardsCompatibility Here is something you can try: Keep using Lucene 8 indexes and Lucene 8 application co

Re: Right Way to Read vectors from Index

2024-02-11 Thread Gautam Worah
t should be *that* slow.. maybe share the code you are using to retrieve the vectors? Regards, Gautam Worah. On Sun, Feb 11, 2024 at 4:40 AM Uthra wrote: > Hi Michael, > The use case is to handle index updates along with its vector > field without resending the vector in chang

Re: Indexing time increase moving from Lucene 8 to 9

2024-04-18 Thread Gautam Worah
Does your application see a lot of document updates/deletes? GITHUB#11761 could have potentially affected you. Whenever I see large indexing times, my first suspicion is towards increased merge activity. Regards, Gautam Worah. On Thu, Apr 18, 2024 at 2:14 PM Marc Davenport wrote: > Hi Adr

Re: Index directory is not created when I run the command ...

2024-08-06 Thread Gautam Worah
: try sending in ./lucene/core/src and don't send in the `-index` input. It should create a folder on its own in the location from where you are running the command. You should see an output like `Indexing to directory ...` Best, Gautam Worah. On Mon, Aug 5, 2024 at 9:35 PM Deepak Goel wrote

Re: Updating document with IndexWriter#updateDocument doesn't seem to take effect

2024-08-10 Thread Gautam Worah
/document/StringField.html Best, Gautam Worah. On Sat, Aug 10, 2024 at 12:05 AM Wojtek wrote: > Hi Froh, > > thank you for the information. > > I updated the code and re-open the reader - it seems that the update > is reflected and search for old document doesn't yield anythi

Re: Updating document with IndexWriter#updateDocument doesn't seem to take effect

2024-08-10 Thread Gautam Worah
it has something to do with NRT, and deleting docs etc. If not, then that means that your query/data is wrong somewhere. This is how I debugged your first problem. Best, Gautam Worah. On Sat, Aug 10, 2024 at 4:17 AM Wojtek wrote: > Addendum, output is: > > ``` > > maxDoc: 3 > > ma

Re: Updating document with IndexWriter#updateDocument doesn't seem to take effect

2024-08-10 Thread Gautam Worah
tml#storedFields() for crafting the `updateDocument()` call.. Best, Gautam Worah. On Sat, Aug 10, 2024 at 3:12 PM Wojtek wrote: > Hi, > > thank you for reply and apologies for being somewhat "all over the > place". > > Regarding "tokenization" - should it happen if I us

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-21 Thread Gautam Worah
JDK recommended by PyLucene 9.7? Best, Gautam Worah. On Mon, Oct 21, 2024 at 9:06 AM Prashant Saxena wrote: > Hello, > OS : Windows 10 > PyLucene : 9.7.0 > JDK : 23.0 > > Although I can download the binary distribution of version 9.7.0, I have > decided to build it from