lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninad Raut <>
Subject Finding distinct unique IDs in documents returned by fq -- Urgent Help Req
Date Fri, 16 Jul 2010 08:07:53 GMT

I have a scenario in which I have to find count of distinct unique IDs
present in a field (rootId field in my case) for a particular query.

I require this for pagination purpose.

Is there a way in Solr to do something like this we do in SQL:

select count(distinct(rootId))
from table
where (the query part).

Ninad R

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