Re: Getting list of committed documents

2016-11-13 Thread lukes
Thanks Mike. Yeah, i saw the changelist you mentioned. Unfortunately i can't upgrade to 6.2 because of stack limitations :( . Regards. -- View this message in context: http://lucene.472066.n3.nabble.com/Getting-list-of-committed-documents-tp4305258p4305728.html Sent from the Lucene - Java User

Re: Getting list of committed documents

2016-11-13 Thread Michael McCandless
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 M

Re: Getting list of committed documents

2016-11-12 Thread lukes
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

Re: Getting list of committed documents

2016-11-11 Thread Michael McCandless
Hi lukes, First, IW never "auto commits". The maxBufferedDocs/RAMBufferSizeMB settings control when IW moves the recently indexed documents from RAM to disk, but that moving, which writes new segments files, does not commit them. It just writes them to disk, not visible yet to an external reader

Re: Getting list of committed documents

2016-11-10 Thread lukes
Hi, Can anyone please suggest or point in some directions. Regards. -- View this message in context: http://lucene.472066.n3.nabble.com/Getting-list-of-committed-documents-tp4305258p4305503.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --