CGI image of a man holding a file folder while standing in a drawer of a larger file cabinet within a laptop. Next to him are a search bar and magnifying glass

One of our most frequently asked questions from our Mindbreeze customers is, “How do I determine how many documents are in each index?” We typically hear this from customers who have either hit their current licensed document count or are becoming concerningly close to it.

Currently, Mindbreeze does not give a simple way to determine how many documents reside within individual indices. Fishbowl Solutions has requested an enhancement to Mindbreeze to give some type of way to be able to determine the document counts per index, but as of right now this is still being evaluated by Mindbreeze. While we wait, this article will give you some simple steps you can take to help determine how many documents are within each index.

The first thing you will need to do is to compile a list of the index ports that are in use within the Mindbreeze appliance. Specifically, you will want the “Index Port (HTTP)” for every index that is enabled on the Mindbreeze appliance.

Dialog box displaying Mindbreeze server, with Index Port and the Index Port number outlined in red for attention

After this, you will need to be able to access the Mindbreeze appliance via an SSH connection. Once that connection is made, log into the ‘inspire’ docker container with this command: docker exec -it inspire bash

docker exec -it inspire bash code

Once you have successfully logged into the ‘inspire’ container, there is a specific command you will want to run for each index: mescontrol http://localhost:<Index Port> bucketsinfo

When it runs, it should return a small table output like the following:

Small table of information including Bucket ID, Percentage Deleted, Capacity, Count, and Licensed documents within the index

The only column you will need to concern yourself with for this article is the ‘Licensed’ column on the right side. The Licensed column indicates how many documents the index is contributing to the overall licensed document count. In the above image, the index with port 23100 has 427 documents that are licensed within the appliance. If you have an index with a large amount of content, there may be multiple lines of licensed content. See the below image for such an example.

Table of information including Bucket ID, Percentage Deleted, Capacity, Count, and Licensed documents within a large index

In this case, you will need to add up the totals in the Licensed column to find the total count. In the above example, the index has 202,343 items in the index.

Hopefully with this information, you will be able to determine overall document counts per index in your Mindbreeze appliance. If you need assistance from Fishbowl to help troubleshoot issues with your Mindbreeze appliance, please reach out to us at and we will be happy to help. If this article has piqued your interest in Mindbreeze’s enterprise search appliance, Inspire, or why Fishbowl Solutions was named Mindbreeze Integration Partner of the Year, please visit our Mindbreeze informational page here, contact us via, or submit a contact us form at the bottom of the page.