> Patrick maybe you had an interesting use case in mind?
I had one, but later on I found out that I don't necessarily use flush to
achieve that so it's not really a valid use case that definitely need
flush...
On Tue, Apr 25, 2023 at 7:26 PM Ishan Chattopadhyaya <
ichattopadhy...@gmail.com>
I think Apache Solr could explore leveraging the returned sequence number
for its transaction logs.
On Tue, 25 Apr 2023 at 18:36, Michael McCandless
wrote:
> On Sun, Apr 23, 2023 at 6:19 AM Uwe Schindler wrote:
>
> Having the sequence number public in API does not bring any benefit, as
>> you
On Sun, Apr 23, 2023 at 6:19 AM Uwe Schindler wrote:
Having the sequence number public in API does not bring any benefit, as
> you cannot use it for anything.
>
Actually there are some interesting use cases for sequence numbers:
They enable the caller to know the effective order of operations
>
> Yes thats true, I just have to add: You can still open a NRT reader
> directly from IndexWriter. But you don't need a sequence number there as
> its hidden completely. So flushing is fine to allow users to get a new
> NRT reader with the state up to that point, but it does not need to
> return
Hi,
Am 21.04.2023 um 16:16 schrieb Robert Muir:
This is not true: if i call IndexWriter.commit, then i can open an
indexreader and see the documents.
IndexWriter.flush doesn't do anything at all, really, just moves stuff
from RAM to disk but not in a way that indexreader can see it or
Hi Rob,
Thanks for explaining, that makes sense to me.
Patrick
On Fri, Apr 21, 2023 at 7:18 AM Robert Muir wrote:
> This is not true: if i call IndexWriter.commit, then i can open an
> indexreader and see the documents.
>
> IndexWriter.flush doesn't do anything at all, really, just moves stuff
This is not true: if i call IndexWriter.commit, then i can open an
indexreader and see the documents.
IndexWriter.flush doesn't do anything at all, really, just moves stuff
from RAM to disk but not in a way that indexreader can see it or
anything, right?
It doesn't make much sense that this
Hi folks,
I just realized that while "commit" returns the sequence number which
represents the latest event that committed in the index, "flush" still
returns nothing. Since they're essentially the same except fsync I wonder
whether there's any specific reason to not do so?
Best
Patrick