lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karich <>
Subject Re: Alternative for field collapsing
Date Mon, 21 Jun 2010 19:29:38 GMT
Hi Raakhi,

First, field collapsing works pretty well in our system. And, as Martin
has said on 17.06.2010 in the other thread "Field Collapsing SOLR-236":

I've added a new patch to the issue, so building the trunk (rev
955615) with the latest patch should not be a problem. Due to recent
changes in the Lucene trunk the patch was not compatible.

Second, if the id is unique applying field collapse make no sense. So I
suppose you will apply field collapsing to the title, right?
But in this case, why doesn't a simple query ala q=title:'my
title'&sort=price asc work for you? Or what do you want to achieve?
(The title should be of type string, I think)


> Hi,
>       I have an index with the following fields:
>       id  (unique)
>       title
>       description
>       price.
> Suppose i want to find unique documents and count of all documents with the
> same title, sorted on price.
> How do i go about it.
> Knowing that field collapsing is not stable with 1.4.
> if i go about using facet's on id, it sorts either on id or on the count,
> but not on the price,
> Any Suggestions??
> Regards,
> Raakhi

View raw message