Thank you! This looks interesting. However, I wonder if it really can solve
this problem. No part of the search query is by necessary means part of the
domain name. Let's say for example that we search for "foobar". On
www.example.com/page42.html this word is found, as well for lots of pages
with different names at blog.example.com/. Can you apply boosting magic for
the hit at www.example.com although the search term is not a part of the
url?

2011/8/31 Gora Mohanty <[email protected]>

> On Wed, Aug 31, 2011 at 1:52 PM, Johan Svensson
> <[email protected]> wrote:
> > I want to put different weights to different domains, so that I can push
> up
> > results from my main site. Say for example, I have www.example.com with
> a
> > few but important pages, and blog.example.com with zillions of
> > not-really-that-good pages. When searching, I'd like the hits at
> > www.example.com be up-weighted by some factor over them from
> > blog.example.com. Of course, other weights must be considered as usual,
> just
> > that the blog pages is generally not really as important as the main
> pages.
> > Is this possible, and how? Using nutch+solr.
> [...]
>
> Not sure how far this is possible within the Nutch search
> engine itself, but if you are pushing the results to Solr,
> you can use boosting, and other techniques. This might
> be a good starting point:
> http://wiki.apache.org/solr/SolrRelevancyCookbook
>
> Regards,
> Gora
>

Reply via email to