2010/7/28 Rafal Bluszcz Zawadzki <ra...@headnet.dk>

> Hi,
>
> In my schema I have (inter ali) fields CollectionID, and CollectionName.
>  These two values always match together, which means that for every value of
> CollectionID there is matching value from CollectionName.
>
> I am interested in query which allow me to get unique values of
> CollectionID with matching CollectionNames (rest of fields is not interested
> for me in this query).
>
>
Finally I decided to store values in one indexed field (Collections) and
below query did the trick:

q=*:*&rows=0&facet=on&facet.field=Collections

-- 
RafaƂ Zawadzki
http://dev.bluszcz.net/
  • Get unique values Rafal Bluszcz Zawadzki
    • Re: Get unique values Rafal Bluszcz Zawadzki

Reply via email to