thanks. Yes, the presentation layer could group results, but that is
not practical if i want to show the first 20 results out of 200,000
matches.
Nutch groups the results by site. Any idea how they do it?
thanks
ryan
On 1/3/07, Ricardo Borillo <
borillo@...> wrote:
> Hi,
>
> I don't know if solr can manage grouping. But you can do it using an XSLT
> stylesheet:
>
>
http://www.jenitennison.com/xslt/grouping/muenchian.html>
> Hope it helps :)
>
>
> On 1/2/07, Ryan McKinley <
ryantxu@...> wrote:
> > Is it possible to group the results from a solr query? I have indexed
> > the content from many web pages on many sites. I'd like to return
> > only two results from each site.
> >
> > schema.xml:
> >
> > <field name="uri" type="string" indexed="true" stored="true"/>
> > <field name="site" type="string" indexed="true" stored="true"/>
> > <field name="content" type="text" indexed="true" stored="true"/>
> >
> > for example
> > uri:
http://en.wikipedia.org/wiki/James_Madison> > site: wikipedia.org
> >
> > How do i get results grouped by site?
> >
> > Is this possible with the standard query? The website lists: "Support
> > for Dynamic Result Grouping and Filtering." Is it referring to
> > faceted browsing or this?
> >
> > If its not supported off the shelf, what is the best way to implement
> > result grouping?
> >
> > thanks
> > ryan
> >
>
>
> --
> Salut,
> ====================================
> Ricardo Borillo Domenech
> Analista/Programador - Servei d'Informàtica
> Universitat Jaume I
>
http://xml-utils.com>