lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Total count of facets
Date Wed, 04 Feb 2009 09:07:16 GMT
On Wed, Feb 4, 2009 at 2:14 PM, Bruno Aranda <brunoaranda@gmail.com> wrote:

> Maybe I am not clear, but I am not able to find anything on the net.
> Basically, if I had in my index millions of names starting with A* I would
> like to know how many distinct surnames are present in the resultset
> (similar to a distinct SQL query).
> I will attempt to have a look at the SOLR sources to try to see if this is
> possible to implement. Any hints where to look at would be great!
>

You can use facet.query=name:A* to get the count of names starting with A.

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message