Hi Markus, The reason I need this is, based on the weightage Solr will show urls with higher weightage first .
For e.g. Let's say user is searching some word “iphone” and this word is present in the content of 2 pages , one url is our main page and second is just some pdf, so we would like to show our main page url first in reach result then the others. So if we add more weight to our main page url (may be add one new field named weight and assign number to it like 100 in case it match url patteren or some default value if it does not match) then we can configure solr to show matching docs with more weightage first. Thanks Manish > On Jan 21, 2016, at 12:54 PM, Markus Jelsma <[email protected]> > wrote: > > Hello Manish - Nutch does not directly support such as feature out of the > box, but you could add something like this via a custom scoring filter, see > the scoring filter interface and implementors for examples. But, why do you > need this? There is a good chance you might not need it. > > Markus > > -----Original message----- >> From:Manish Verma <[email protected]> >> Sent: Thursday 21st January 2016 21:42 >> To: [email protected] >> Subject: Adding Weightage To URLs Matching Some Patteren >> >> Hi, >> >> I am using notch 1.10 and want to add some weightage to Urls based on some >> Url patteren . For example if the Url is matching some Url pattern then will >> add more weightage. >> Do we already have some in Nutch 1.10 >> >> Thanks Manish >> >>

