[opencms-dev] How to get number of resources by resource type

r.kurz at alkacon.com r.kurz at alkacon.com
Thu Mar 14 11:00:45 CET 2013


 

Hi, just an addition:

http://localhost:8080/opencms/opencms/handleSolrSelect?fq=type:v8flower&fq=parent-folders:/
font-family: monospace; font-size: 13px;">

that means that you have 34 resources of the type 'v8flower', whereby the
type is the resource type name declared inside the manifest.xml of your
module or inside the opencms-modules.xml.

HTH

On Thu 14/03/13 10:43 AM , Arturo Martín Lladó  wrote:Hi, Jaime:

 Are you able to, fisrt of all, obtain every type defined on your
 OpenCms installations via OpenCms API?
 If you are able to do so, you could perform a Solr search and,
 iterating over the results and checking the type of each one, count
 them.

 Regards,

 --
 Arturo Martín Lladó

 2013/3/14 Moret-Tan Bee Bee :
 > Hi,
 > We'd like to get the number of resources per resource type in OpenCMS.
 > How to do so?
 > Regards,
 > Jaime

 

-------------------------
Message sent via Atmail Open - http://atmail.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130314/9d148013/attachment.htm>


More information about the opencms-dev mailing list