Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How do we get a count of the different file types indexed by SharePoint 2010's Enterprise Search? For example, we'd like to have a count of all the *.docx, *.xlsx, etc.

Thank you.

share|improve this question
1  
Are you looking for unique list of file extensions? or the count of each file extension that you specify? –  andrew.petersen15 Nov 14 '12 at 17:42
    
@andrew.petersen15, we're looking for the count of each file extension. Thanks. –  Alex C Dec 2 '12 at 6:53
add comment

1 Answer

up vote 1 down vote accepted

I can't think of an efficient way of doing this apart from tagging all documents.

The simplest and probably most efficient solution I can think of is, to do this on an event receiver when a document is added to the library, then writing an update script to set all the values of anything updated previously.

You could do this in a good afternoon and have it tested for the following lunch time for deployment.

Then it would be easy to collate the taxonomy counts. Either use the refinements panel or lookup this Managed Metadata Web Part on CodePlex.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.