Do a search. The URL will looks something like this:
That will return something like this:
Filter that response through this:
And you’ll get the number of documents in the core.
Alternatively, the info is in the admin status API.
http://observer.wunderwood.org/ (my blog)
> On Sep 19, 2016, at 8:30 AM, John Bickerstaff <j...@johnbickerstaff.com>
> I would imagine there's an http call that would get it and you could call
> cURL in your bash script... I don't know the URL parameters off hand
> On Mon, Sep 19, 2016 at 9:22 AM, KRIS MUSSHORN <mussho...@comcast.net>
>> How can i get the count of docs from a core with bash?
>> Seems like I have to call Admin/Luke but cant find any specifics.