Stephen - ?readviewentries for your xml output? - I guess your point is the original view just outputting as xml if selected.
In the past I have also used this command in javascript to get a document count from a huge view - just retrieve a single xml page using ?readviewentries (put count=1) and parse the document count out of the result.
Always found it the fastest method - but obviously only suited for some applications.
I've got a javscript function somewhere where you just pass a view name and it returns number of documents in it - will try and dig it out or just write it again - not difficult and is something like 8 lines long.
Stephen - ?readviewentries for your xml output? - I guess your point is the original view just outputting as xml if selected.
In the past I have also used this command in javascript to get a document count from a huge view - just retrieve a single xml page using ?readviewentries (put count=1) and parse the document count out of the result.
Always found it the fastest method - but obviously only suited for some applications.
I've got a javscript function somewhere where you just pass a view name and it returns number of documents in it - will try and dig it out or just write it again - not difficult and is something like 8 lines long.