Reputation: 2560
I need to figure out how many unique terms are in our Solr (Lucene) index. And by unique terms, I dont mean by document. I mean total unique terms from all documents in the index. The Solr admin console shows how many documents, but not total terms.
I found a tool called Luke (Lucene Index Toolbox) that will give you that info, but its a UI tool, and my Sorl index is on a Ubuntu server so I cant run it.
Any Ideas?
Upvotes: 4
Views: 2347
Reputation: 6928
You can use the LukeRequestHandler. You should see the tag "numTerms" in the xml returned.
Upvotes: 3