lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Getting list of committed documents
Date Sun, 13 Nov 2016 22:04:00 GMT
Hi lukes,

Sorry, this was a recent change in Lucene:
https://issues.apache.org/jira/browse/LUCENE-7302

You need to upgrade to at least 6.2 to see it.

And the long value that is returned is just an incrementing number,
incremented for every op (add, update, delete) that changes the index.

Mike McCandless

http://blog.mikemccandless.com


On Sat, Nov 12, 2016 at 3:40 PM, lukes <mail2lokesh@gmail.com> wrote:
> Hi Michael,
>
>   Thanks for the reply. Regarding IW(IndexWriter) returning long sequence
> number, i looked at the signature of commit and it seems to be void. Can you
> please point me in the direction ? I am using Lucene 5.5.2. Also is this
> number aggregation of deletes, updates and new documents ? Is it count
> progressive over time or number of documents which made into only for that
> commit only ? Once you point me, i can look into for more details.
>
> Thanks a lot.
>
> Regards.
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Getting-list-of-committed-documents-tp4305258p4305644.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message