These are available in Nutch 1.7:

<property>
  <name>headings</name>
  <value>h1,h2</value>
  <description>Comma separated list of headings to retrieve from the 
document</description>
</property>

<property>
  <name>headings.multivalued</name>
  <value>false</value>
  <description>Whether to support multivalued headings.</description>
</property>
 
So if the plugin is enabled those headings are extracted and added do the 
document's parse metadata but that's not going to be indexed immediately. Add 
the index-metadata plugin and tell it to index the heading fields and they 
should be added. Use the indexchecker and parsechecker tools to confirm.

-----Original message-----
> From:Christian Nölle <[email protected]>
> Sent: Friday 28th June 2013 9:13
> To: [email protected]
> Subject: Parse headings plugin
> 
> Hi everybody,
> 
> I am just fiddeling around with nutch and stumbled upon the headings 
> plugin for nutch. I enabled it but I am not receiving any output 
> (headings) in the parsed documents... Is there any configuration to be 
> added? Read about that in JIRA
> 
>  > [...] via the headings configuration directive.
> 
> but can not find any documentation about the syntax of that directive. 
> Can anybody point me in the right direction?
> 
> Thx and take care.
> -- 
> -c
> 

Reply via email to