Hello;

The filter method in the 0.9 example is not the same with 1.0 ver. interface 
that implemented.

note that it is return  "Document" but 1.0 one returns  "NutchDocument" ....
and there is bit deference in reading meta tags ...

check this very helpful links:
http://sujitpal.blogspot.com/2009/07/nutch-custom-plugin-to-parse-and-add.html
http://sujitpal.blogspot.com/2009/07/nutch-getting-my-feet-wet.html

I assume you added your "author" folder that contains .jar file to your plugin 
directory!


Regards;
Ahmad Al-Amri







________________________________
From: Arnaud Garcia <arnaud1...@gmail.com>
To: nutch-user@lucene.apache.org
Sent: Wed, March 17, 2010 8:25:26 AM
Subject: Re: Plugin installed , deployed and works correctly but no new field  
in the index ????????????

2010/3/17 Arnaud Garcia <arnaud1...@gmail.com>

>
>
> 2010/3/17 Arnaud Garcia <arnaud1...@gmail.com>
>
> Hello everybody
>>
>> I m trying to add new plugin to Nutch as it s explain in the howto
>> WritingPluginExample on the apache wiki.
>>
>> Because the Example about the plugin on the wiki is for the version 0.9 ,
>> i m switching to Nutch 0.9 after getting a lot of error with Nutch1.0.
>>
>> My new plugin named author will extract the value of the tag author from
>> pages crawled.
>>
>> The method used is exactly the same method on the wiki  with the name
>> "author" in place of 'recommended" .
>>
>> So , all things are built successfully , (plugin (separately)+ Nutch )  ,
>> the name of the plugin ("author) was added in nutch-site.xml file ,
>>
>> and the balise  <ant dir="author" target="deploy"/>  was added correctly
>> in the file /nutch/src/plugin/ and
>>
>> the "author" directory was been created on the directory /nutch/build/ .
>>
>>
>> THE PROBLEM IS :
>>
>> No new field named "author" exists in the index .
>>
>> I m using Luke to read and display the index but theresn't any trace about
>> the new field  "author" .
>>
>> I have verified that the tag named author exists in the Web page which i
>> crawl.
>>
>>
>> ANYONE know from where the problem may come
>>
>> CAN ANYONE HELP ME PLEASE.
>> Best regards
>> THANKS
>>
> s



      

Reply via email to