如何增加Nutch中Summary的长度

xiaoxiao2026-06-09  9

在nutch-site.xml添加以下配置,

<configuration>

...

<property>  <name>searcher.summary.length</name>  <value>50</value>//默认为20  <description>  The total number of terms to display in a hit summary.  </description></property>

...

</configuration>

就可以了.个人认为Nutch的默认配置是在nutch-default.xml中设置的,如果您想覆盖它的配置只需在nutch-site.xml中添加相应的配置就好了.

转载请注明原文地址: https://www.6miu.com/read-5049884.html

最新回复(0)