but you could use facets to do something similar as a "distinct where..."
lets say you filter your query on something and want to know how many
distinct "categories" that your results comprise.
then you can facet on the category field and count the number of facet
values that are returned, right?
but maybe that's not what you are after...
cheers,
 Aleks

On Fri, Aug 28, 2009 at 11:22 AM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:

> On Fri, Aug 28, 2009 at 5:05 AM, Paul Tomblin <ptomb...@xcski.com> wrote:
>
> > Can I get all the distinct values from the Solr "database", or do I
> > have to select everything and aggregate it myself?
> >
> >
> No, Solr has no way to do a distinct at query-time.
>
> --
> Regards,
> Shalin Shekhar Mangar.
>



-- 
Aleksander M. Stensby
Lead Software Developer and System Architect
Integrasco A/S
www.integrasco.com
http://twitter.com/Integrasco
http://facebook.com/Integrasco

Please consider the environment before printing all or any of this e-mail

Reply via email to