none
Get all unique values of a managed property used in many documents RRS feed

  • Question

  • Hello,

    I have a managed property 'Document Type' which is used in a site column which is present in hundreds of thousands of documents.

    I want to show all of the 'Document Types' that are actually in use, in a dropdown list. In code, I currently perform a search across all documents, to return the managed property values. I limit the results to x thousand results. The problem is that if those results don't return documents for all representative 'Document Types', some document types will be missing from my dropdown.

    Other than looping through chunks of x thousand documents and calling search over and over until I have searched all documents, is there a clever, less intensive way to get all of the unique values of 'Document Type'?

    Thank you


    Marcel


    Friday, October 18, 2019 3:13 PM

Answers

All replies