I'm a bit confused by what you're asking for, but maybe it's as simple as making a fq=facet_field:facet_value&fl=id request? You'd have to do this for each value in the field.
Erik On Jul 16, 2011, at 09:59 , Jeff Schmidt wrote: > Hello: > > I have a need for applying certain terms and filter queries to my index > (producing the result set), and to create a response to clients that > indicates for a number of fields (some are multi-valued), the document IDs > with values for those fields. These fields are both indexed and stored. For > existing operations, these fields are treated as facets and that works great. > > I'd like to do this as efficiently as possible. It seems my problem will be > solved if there is some way to get the document IDs associated with the facet > counts. > > I'm using SolrJ to talk to Solr in my application, and I don't see a way to > do this. I'm using Sorl 3.3. > > Many thanks! > > Jeff > -- > Jeff Schmidt > 535 Consulting > j...@535consulting.com > http://www.535consulting.com > (650) 423-1068 > > > > > > > > >