Oh,
Ya I was also struggling with the same given example in wikki, can u brief
me what the problem r u getting??
have u added this plugin to nutch-site.xml. and did u configure
parse-plugins.xml for this .
you can go through the citeseer meta data example which explains indexing
better the problem with this is , it is in nutch-0.5.
Or let me reach to the final solution then only I can explain better.
Regards,
Ratnesh
Siddharth Jonathan wrote:
>
> Hi Ratnesh,
> Thanks for your reply.
> I am currently trying to index a "recommended" field in
> addition to the usual fields.
> To keep it simple, I am indexing a constant value for this Field as of
> now,
>
> For eg. in my indexing filter plugin my filter method has this line,
> doc.add(new Field("recommended","someConstantValue",Field.Store.YES,
> Field.Index.UN_TOKENIZED));
>
> and my query filter plugin has the line super("recommended") in the right
> place.
>
> My goal for now is to query like,
> recommended:someConstantValue
>
> and have results returned.
>
> Its really surprising that not too many people appear to
> have
> this problem.
> I was wondering if I was not understanding the wiki correctly.
>
> Jonathan
>
>
> On 3/31/07, Ratnesh,V2Solutions India
> <[EMAIL PROTECTED]>
> wrote:
>>
>>
>> HI,
>> Siddharth I do have this kind of problem , which I am near to sort out
>> may be in day or two I will be able to solve this problem.
>>
>> But can you please explain me which kind of application u r testing??
>>
>>
>> Ratnesh
>>
>>
>> Siddharth Jonathan wrote:
>> >
>> > Hi,
>> > I'm a newbie to nutch.
>> > I am trying to add a new field (and make it searchable) in nutch.
>> > I followed the wiki, http://wiki.apache.org/nutch/CreateNewFilter
>> > but the field doesnt appear to be searchable.
>> >
>> > Is there anything else I should be doing?
>> > Is this the right wiki? It seemed a little outdated (for eg. the filter
>> > method here has a different signature than the one in nutch 0.8.1)
>> > I have also tried the wiki for writing a nutch plugin with similar
>> > results.
>> > I think the field is added to the index but it is not searchable.
>> >
>> > If anyone has sample code, that would be very helpful.
>> >
>> > thanks
>> > Jonathan
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/trouble-adding-fields-to-index-tf3496357.html#a9765953
>> Sent from the Nutch - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/trouble-adding-fields-to-index-tf3496357.html#a9766064
Sent from the Nutch - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general