You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Robin Haswell <ro...@bronco.co.uk> on 2006/05/22 15:08:33 UTC

Extending the nutch ranking algorithm - is it possible?

Hi guys

My company is looking in to using Nutch as a search engine framework to
build upon. Everything seems to be in place except for one obstacle -
there seems to be very little information on
modifying/extending/replacing the ranking algorithm.

>>From searching around the web, I think Nutch only allows you to apply
filters to Lucene's results - is this the case? How easy would it be to
replace the ranking algorithm from the index upwards? Is, for example,
pagerank/hits-like analysis or bayesian spam filtering possible? Would
the current implementation be working against us while adding these
features?

We would be willing to release our general work on making this stuff
easier back to the community, if possible. Of course we would also
comply with any parts of the Apache license that apply.

Many thanks

-Robin Haswell


Re: 0.8 release soon?

Posted by Stefan Groschupf <sg...@media-style.com>.
Having the url ip in crawl-datum is a big issue from my point of  
view,  since doing larger crawls is just not possible since the  
described honey pot problems.
I will collect some more information soon.
The solution to lookup ip's during segment generation is just to slow  
as soon you generate larger segments.

Stefan


Am 26.05.2006 um 22:14 schrieb Doug Cutting:

> Andrzej Bialecki wrote:
>> 0.8 is pretty stable now, I think we should start considering a  
>> release soon, within the next month's time frame.
>
> +1
>
> Are there substantial features still missing from 0.8 that were  
> supported in 0.7?
>
> Are there any showstopping bugs, things that worked in 0.7 that are  
> broken in 0.8?
>
> Doug
>


Re: 0.8 release soon?

Posted by Stefan Neufeind <ap...@stefan-neufeind.de>.
Andrzej Bialecki wrote:
> Doug Cutting wrote:
>> Andrzej Bialecki wrote:
>>> 0.8 is pretty stable now, I think we should start considering a
>>> release soon, within the next month's time frame.
>>
>> +1
>>
>> Are there substantial features still missing from 0.8 that were
>> supported in 0.7?
> 
> Next week I'll be working on NUTCH-61 to bring it to a state where it
> could be committed. It's a new feature, so the question is: should we
> play safe, and wait with it after the release, or should we go with it
> in the hope that it will get a wider testing audience? ;)

+1 for being "safe" and instead focusing on some of the already
mentioned patches that might need attention more urgently.

  Stefan

Re: 0.8 release soon?

Posted by Andrzej Bialecki <ab...@getopt.org>.
Doug Cutting wrote:
> Andrzej Bialecki wrote:
>> 0.8 is pretty stable now, I think we should start considering a 
>> release soon, within the next month's time frame.
>
> +1
>
> Are there substantial features still missing from 0.8 that were 
> supported in 0.7?

Next week I'll be working on NUTCH-61 to bring it to a state where it 
could be committed. It's a new feature, so the question is: should we 
play safe, and wait with it after the release, or should we go with it 
in the hope that it will get a wider testing audience? ;)

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com



Re: 0.8 release soon?

Posted by Lukas Vlcek <lu...@gmail.com>.
Hi,

I would lobby also for Nutch-273 (redirected pages not updated in DB).
This seems like quite important feature for me - in other words
nutch-0.8 would be un-useful for me without this fix.

Regards,
Lukas

On 5/26/06, Stefan Neufeind <ap...@stefan-neufeind.de> wrote:
> Doug Cutting wrote:
> > Andrzej Bialecki wrote:
> >> 0.8 is pretty stable now, I think we should start considering a
> >> release soon, within the next month's time frame.
> >
> > +1
> >
> > Are there substantial features still missing from 0.8 that were
> > supported in 0.7?
> >
> > Are there any showstopping bugs, things that worked in 0.7 that are
> > broken in 0.8?
>
> +1 as well, though I'm still new to the topic.
>
> During the setup I've come across a few patches that I think might be
> useful to maybe go into the 0.8-release. Those are:
>
> fixes:
> NUTCH-110-fixIllegalXmlChars08.patch
> NUTCH-254-fetcher_filter_url_patch.txt
>
> new features, that I tested and work fine here:
> NUTCH-48-did-you-mean-combined08.patch
> NUTCH-173-patch08-new.patch
> NUTCH-279-regex-normalize.patch
> NUTCH-288-OpenSearch-fix.patch
>
>
> !! open issues, from my side:
> NUTCH-277 (seems to affect httpclient, changing to http helped)
>
>
> Feedback welcome.
>
>
> Regards,
>  Stefan
>

Re: 0.8 release soon?

Posted by Stefan Neufeind <ap...@stefan-neufeind.de>.
Doug Cutting wrote:
> Andrzej Bialecki wrote:
>> 0.8 is pretty stable now, I think we should start considering a
>> release soon, within the next month's time frame.
> 
> +1
> 
> Are there substantial features still missing from 0.8 that were
> supported in 0.7?
> 
> Are there any showstopping bugs, things that worked in 0.7 that are
> broken in 0.8?

+1 as well, though I'm still new to the topic.

During the setup I've come across a few patches that I think might be
useful to maybe go into the 0.8-release. Those are:

fixes:
NUTCH-110-fixIllegalXmlChars08.patch
NUTCH-254-fetcher_filter_url_patch.txt

new features, that I tested and work fine here:
NUTCH-48-did-you-mean-combined08.patch
NUTCH-173-patch08-new.patch
NUTCH-279-regex-normalize.patch
NUTCH-288-OpenSearch-fix.patch


!! open issues, from my side:
NUTCH-277 (seems to affect httpclient, changing to http helped)


Feedback welcome.


Regards,
 Stefan

0.8 release soon?

Posted by Doug Cutting <cu...@apache.org>.
Andrzej Bialecki wrote:
> 0.8 is pretty stable now, I think we should start considering a release 
> soon, within the next month's time frame.

+1

Are there substantial features still missing from 0.8 that were 
supported in 0.7?

Are there any showstopping bugs, things that worked in 0.7 that are 
broken in 0.8?

Doug

Re: Extending the nutch ranking algorithm - is it possible?

Posted by Andrzej Bialecki <ab...@getopt.org>.
Robin Haswell wrote:
> On Mon, 2006-05-22 at 17:15 +0200, Andrzej Bialecki wrote:
>   
>> There's no formal documentation that would explain the details. Read 
>> ScoringFilter.java Javadocs, and then take a look at the 
>> src/plugin/scoring-opic implementation.
>>     
>
> Cheers, I'll take it from there. I find examples really help. One final
> question about this (:-)) - and I know you hate these questions but - is
> there any rough estimate at all as to when 0.8 will reach release?
> Weeks/months/years? Thanks for your help :-)
>   

0.8 is pretty stable now, I think we should start considering a release 
soon, within the next month's time frame.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com



Re: Extending the nutch ranking algorithm - is it possible?

Posted by Robin Haswell <ro...@bronco.co.uk>.
On Mon, 2006-05-22 at 17:15 +0200, Andrzej Bialecki wrote:
> There's no formal documentation that would explain the details. Read 
> ScoringFilter.java Javadocs, and then take a look at the 
> src/plugin/scoring-opic implementation.

Cheers, I'll take it from there. I find examples really help. One final
question about this (:-)) - and I know you hate these questions but - is
there any rough estimate at all as to when 0.8 will reach release?
Weeks/months/years? Thanks for your help :-)

Cheers

-Rob


Re: Extending the nutch ranking algorithm - is it possible?

Posted by Andrzej Bialecki <ab...@getopt.org>.
Robin Haswell wrote:
> On Mon, 2006-05-22 at 16:32 +0200, Andrzej Bialecki wrote:
>   
>> Please take a look at the SVN (development) version, there's a scoring 
>> API there that allows you to apply arbitrary scoring/ranking methods.
>>     
>
> Thanks a lot, I actually just checked out SVN so I could give
> http://issues.apache.org/jira/browse/NUTCH-251?page=all a try. Could you
> give me a starting point where I can look in to this API please? I
> confess to not being a Java programmer (although it's looking like I
> will become one shortly), and our Java guy is busy with other things
> right now.
>   

There's no formal documentation that would explain the details. Read 
ScoringFilter.java Javadocs, and then take a look at the 
src/plugin/scoring-opic implementation.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com



Re: Extending the nutch ranking algorithm - is it possible?

Posted by Robin Haswell <ro...@bronco.co.uk>.
On Mon, 2006-05-22 at 16:32 +0200, Andrzej Bialecki wrote:
> Please take a look at the SVN (development) version, there's a scoring 
> API there that allows you to apply arbitrary scoring/ranking methods.

Thanks a lot, I actually just checked out SVN so I could give
http://issues.apache.org/jira/browse/NUTCH-251?page=all a try. Could you
give me a starting point where I can look in to this API please? I
confess to not being a Java programmer (although it's looking like I
will become one shortly), and our Java guy is busy with other things
right now.

Thanks a lot

-Rob


Re: Extending the nutch ranking algorithm - is it possible?

Posted by Andrzej Bialecki <ab...@getopt.org>.
Robin Haswell wrote:
> Hi guys
>
> My company is looking in to using Nutch as a search engine framework to
> build upon. Everything seems to be in place except for one obstacle -
> there seems to be very little information on
> modifying/extending/replacing the ranking algorithm.
>
> >From searching around the web, I think Nutch only allows you to apply
> filters to Lucene's results - is this the case? How easy would it be to
> replace the ranking algorithm from the index upwards? Is, for example,
> pagerank/hits-like analysis or bayesian spam filtering possible? Would
> the current implementation be working against us while adding these
> features?
>
> We would be willing to release our general work on making this stuff
> easier back to the community, if possible. Of course we would also
> comply with any parts of the Apache license that apply.
>   

Please take a look at the SVN (development) version, there's a scoring 
API there that allows you to apply arbitrary scoring/ranking methods.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com