lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakhi Khatwani <rkhatw...@gmail.com>
Subject Re: Alternative for field collapsing
Date Tue, 22 Jun 2010 11:08:49 GMT
Thanks Peter :)

On Tue, Jun 22, 2010 at 3:08 PM, Peter Karich <peathal@yahoo.de> wrote:

> ups, sorry. I meant Martijn! Not the germanized Martin :-/
>
> Peter.
>
> > Hi,
> >         I wanted to apply field collapsing on the title(type string). but
> > want to show only one document (and the count of such documents) per
> title
> > rather than show all the documents.
> >
> > Regards
> > Raakhi
> >
> >
> > On Tue, Jun 22, 2010 at 12:59 AM, Peter Karich <peathal@yahoo.de> wrote:
> >
> >
> >> 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)
> >>
> >> Regards,
> >> Peter.
> >>
> >>
> >>> 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
> >>>
> >>>
>
>

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