【发布时间】:2013-06-27 10:46:24
【问题描述】:
我已经使用 Nutch 抓取了网站,并将抓取的数据推送到 solr。现在我想在具有特定属性值的特定标签之间搜索内容。例如,
<h><title> title to search </title></h>
<div id="abc">
content to search
</div>
<div class="efg">
other content to search
</div>
我已经看到了这个问题(how to parse html with nutch and index specific tag to solr?),但这还不够清楚。
我想知道是否有可用的插件或者我需要完全编写自定义插件。如果我必须编写一个插件,我只需要几个处理 html 标签和属性的指导。
【问题讨论】: