Thanks Peter :) On Tue, Jun 22, 2010 at 3:08 PM, Peter Karich <peat...@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 <peat...@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 > >>> > >>> > >