Hi - i was wrong, we do use that for influencing fetch interval but not for 
sorting generater entries. To do that you must implement a ScoringFilter, and 
then the generatorSortValue() method. Check the ScoringFilter interface and the 
scoring filters shipped by Nutch.

Markus 

 
 
-----Original message-----
> From:Benjamin Derei <[email protected] <mailto:[email protected]> >
> Sent: Wednesday 10th September 2014 12:20
> To: [email protected] <mailto:[email protected]> 
> Subject: Re: generatorsortvalue
> 
> Hi,
> 
> can you explain a bit more :) ?
> 
> Benjamin.
> 
> 2014-09-10 10:48 GMT+02:00 Markus Jelsma <[email protected] 
> <mailto:[email protected]> >:
> 
> > Hi, you can implement a custom FetchSchedule. We use it as well to
> > influence how records are sorted.
> > Markus
> >
> >
> >
> >
> >
> > -----Original message-----
> > > From:Benjamin Derei <[email protected] <mailto:[email protected]>  
> > > <mailto:[email protected] <mailto:[email protected]> > >
> > > Sent: Tuesday 9th September 2014 20:39
> > > To: [email protected] <mailto:[email protected]>  
> > > <mailto:[email protected] <mailto:[email protected]> >
> > > Subject: generatorsortvalue
> > >
> > > hi,
> > >
> > > i'm a beginner in java and nutch.
> > >
> > > I want to orient the crawl with two rules:
> > >     -if language identifier plugin detect that page is non "fr" the score
> > > for sorting should be divided by two.
> > >     -if an anchor text or link cibling this page contain some therms the
> > > score for sorting should be multiplied by ten.
> > >
> > > Any help ?
> > >
> > > Benjamin.
> > >
> >
> >
> 

Reply via email to