我想做索引的文件存储在服务器( 我不需要爬) 上。 /path/to/files/示例HTML文件
title of the article
Length: 13 to 15 feet
Height to Top of Head: up to 18 feet
Weight: 1,200 to 4,300 pounds
Diet: leaves and branches of trees
Number of Young: 1
Home: Sahara
我已经在 solrconfing.xml 文件中添加了请求处理程序。
/path/to/data-config.xml
我的data-config.xml 看起来像这样
我保留了默认的schema.xml 文件,并将下面的代码添加到 schema.xml 文件中。
assetid
设置完整的导入后,它显示所有的html文件都被提取出来。 但是当我在SOLR搜索时,它没有显示任何结果。 任何人都知道可能会发生什么?
我的理解是正确获取的所有文件,但没有在SOLR中索引。 有人知道如何为SOLR中的元标记和HTML文件的内容编制索引?
你的回复会很感激。