After some effort and help from you guys, especially Rida I was able
to get the plugin to run on Nutch 0.8.1.

I am using the XMLParser plugin from
http://issues.apache.org/jira/browse/NUTCH-185 .
I have an XML that I need to index:-

<tags>
 <tag>tag1</tag>
 <tag>tag2</tag>
 <tag>tag3</tag>
<tags>

I wish to index each of those tags separately. XMLParser seems to
merge the content of those and index as a single value.

I want it to index as:-
tag = tag1
tag = tag2
tag = tag3

while it is indexing as
tag = tag1 tag2 tag3


I have the field 'tag' as keyword, so searching for tag:tag1 doesnt
return any results. Also I cannot have the field 'tag' as text.

Could someone please guide me on how to achieve that? I am using the
xpath value as:
//tags/tag

Thanks and Best Regards,
Jayant Gandhi

-- 
www.jkg.in | http://www.jkg.in/contact-me/
Jayant Kr. Gandhi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
Nutch-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to