Re: displaying one result per domain

2013-06-27 Thread Jack Krupansky
13 8:18 AM To: solr-user@lucene.apache.org Subject: displaying one result per domain 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

Re: displaying one result per domain

2013-06-27 Thread Erik Hatcher
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 fro

displaying one result per domain

2013-06-27 Thread Wojciech Kapelinski
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 compl