lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <erik.hatc...@gmail.com>
Subject Re: displaying one result per domain
Date Thu, 27 Jun 2013 12:34:00 GMT
Extract the domain (the "main URL" you mention) into its own indexed field and use field collapsing/grouping:
http://wiki.apache.org/solr/FieldCollapsing

	Erik

On Jun 27, 2013, at 08:18 , Wojciech Kapelinski wrote:

> I'm looking for a neat solution to replace default multiple results from
> single domain in SERP
> 
> somepage.com/contact.html
> somepage.com/aboutus.html
> otherpage.net/info.html
> somepage.com/directions.html  etc
> 
> with only one result per each domain [main URL by default]
> 
> somepage.com
> otherpage.net
> completelydifferentpage.org
> 
> Tried grouping by Carrot2 but it's not exactly what I'm looking for.
> 
> Thanks in advance.


Mime
View raw message