Re: getting the number of updated documents

2011-03-10 Thread Koji Sekiguchi
Does IndexWriter (or somewhere else) have the method such that it gets the number of updated documents before commit? you have maxDocs which gives you the maxdocid-1 but this might not be super accurate since there might have been merges going on in the background. I am not sure if this number yo

Re: getting the number of updated documents

2011-03-10 Thread Simon Willnauer
hey Koji, 2011/3/10 Koji Sekiguchi : > Hello, > > Does IndexWriter (or somewhere else) have the method such that > it gets the number of updated documents before commit? you have maxDocs which gives you the maxdocid-1 but this might not be super accurate since there might have been merges going on