nutch doc.getFieldValue return null

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

nutch doc.getFieldValue return null

lsroudi
Hi nutchers,
i write a plugin to add some custom field to mongodb and elasticsearch index, i would use those custom field to do some action, but the problem is when i call getFieldValue('customfield') null is always returned.
i struggle to figure out how get the value of the field, i would say any getFieldValue() return null on any field not just the custom field.
Your help is appreciated