logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Ed Wrenbeck
    • Posted on Fri 5 Nov 2004 14:07

    I was thinking that it might be possible to make a few API calls to get the count, and just wrap those in LS for an open agent. However, the following caveat from the API docs seems to provide a hard limit to what you are looking for. Otherwise, you could probably write a few lines of code to get a count of docs in the view.

    "NIFGetCollectionData is only useful for providing information about a collection which is not categorized. The index of a categorized collection is implemented using nested B-Trees, and it is not possible to provide useful information about all of the B-Trees which make up the index. If NIFGetCollectionData is called for a categorized collection, the data that is returned pertains only to the top-level category entries, and not to the main notes in the collection."

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: