在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中添加相应的配置就好了.