just use a facet on the field should work yes?

On Fri, Jul 12, 2019 at 9:39 AM Steven White <swhite4...@gmail.com> wrote:

> Hi everyone,
>
> One of my indexed field is as follows:
>
>     <field name="CC_FILE_EXT" type="string" docValues="true"
> multiValued="false" indexed="true" required="true" stored="false"/>
>
> It holds the file extension of the files I'm indexing.  That is, let us say
> I indexed 10 million files and the result of such indexing, the field
> CC_FILE_EXT will now have the file extension.  In my case the unique file
> extension list is about 300.
>
> Using SolrJ, is there a quick and fast way for me to get back all the
> unique values this field has across all of my document?  I don't and cannot
> scan all the 10 million indexed documents in Solr to build that list.  That
> would be very inefficient.
>
> Thanks,
>
> Steven
>

Reply via email to