Mailing List Archive

Re: Lucene 7.7.2 Indexwriter.numDocs() replacement in Lucene 8.4.1
A typo corrected below.

Best regards


On 2/24/20 5:54 PM, baris.kazar@oracle.com wrote:
> Hi,-
>
>  I hope everyone is doing great.
>
>
> I think the Lucene 7.7.2  Indexwriter.numDocs()
>
> https://lucene.apache.org/core/7_7_2/core/org/apache/lucene/index/IndexWriter.html#numDocs--
>
>
> can be replaced by the following in Lucene 8.4.1, right?
>
> https://lucene.apache.org/core/8_4_1/core/org/apache/lucene/index/IndexWriter.html#getDocStats--
>
> --->>>
> https://lucene.apache.org/core/8_4_1/core/org/apache/lucene/index/IndexWriter.DocStats.html#numDocs
>
> i.e./_*, IndexWriter.getDocStats().numDocs *_/
>
> Best regards
>
>
>
Re: Lucene 7.7.2 Indexwriter.numDocs() replacement in Lucene 8.4.1 [ In reply to ]
Yes.

Mike McCandless

http://blog.mikemccandless.com


On Mon, Feb 24, 2020 at 5:55 PM <baris.kazar@oracle.com> wrote:

> A typo corrected below.
>
> Best regards
>
>
> On 2/24/20 5:54 PM, baris.kazar@oracle.com wrote:
> > Hi,-
> >
> > I hope everyone is doing great.
> >
> >
> > I think the Lucene 7.7.2 Indexwriter.numDocs()
> >
> >
> https://lucene.apache.org/core/7_7_2/core/org/apache/lucene/index/IndexWriter.html#numDocs--
> >
> >
> > can be replaced by the following in Lucene 8.4.1, right?
> >
> >
> https://lucene.apache.org/core/8_4_1/core/org/apache/lucene/index/IndexWriter.html#getDocStats--
> >
> > --->>>
> >
> https://lucene.apache.org/core/8_4_1/core/org/apache/lucene/index/IndexWriter.DocStats.html#numDocs
> >
> > i.e./_*, IndexWriter.getDocStats().numDocs *_/
> >
> > Best regards
> >
> >
> >
>