solr html显示,How can I do indexing .html files in SOLR

The files I want to do indexing is stored on the server(I don't need to crawl). /path/to/files/

the sample HTML file is

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

I have added the request handler in solrconfing.xml file.

/path/to/data-config.xml

My data-config.xml is look like this

I have kept the default schema.xml file and added the following piece of code to schema.xml file.

assetid

when I tried to do the full import after setting it up it shows that all html files fetched. But when I search in SOLR it didn't show me any result. Anyone have idea what could be possible cause?

My understanding is all the files fetched correctly but not indexed in SOLR. Does anyone know how can I indexed those meta tags and content of the HTML file in SOLR?

your reply will be appreciated.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值