CheckIndex prints these stats.
java -cp lucene-core-WHATEVER.jar org.apache.lucene.index.CheckIndex
- Original Message -
| From: "Shawn Heisey"
| To: solr-user@lucene.apache.org
| Sent: Monday, October 15, 2012 9:46:33 PM
| Subject: Re: How many documents in each Lucene segmen
On 10/15/2012 8:06 PM, Michael Ryan wrote:
Easiest way I know of without parsing any of the index files is to take the
size of the fdx file in bytes and divide by 8. This will give you the exact
number of documents before 4.0, and a close approximation in 4.0.
Though, the fdx file might not be
Easiest way I know of without parsing any of the index files is to take the
size of the fdx file in bytes and divide by 8. This will give you the exact
number of documents before 4.0, and a close approximation in 4.0.
Though, the fdx file might not be on disk if you haven't committed.
-Michael