开发者

solr indexing and reindexing

开发者 https://www.devze.com 2023-03-31 03:15 出处:网络
I have the schema with 10 fields. One of the fields is text(content of a file) , rest all the fields are custom metadata. Document doesn\'t chnages but the metadata changes frequently .

I have the schema with 10 fields. One of the fields is text(content of a file) , rest all the fields are custom metadata. Document doesn't chnages but the metadata changes frequently . Is there any way to skip the Document(text) while re-开发者_StackOverflowindexing. Can I only index only custom metadata? If I skip the Document(text) in re-indexing , does it update the index file by removing the text field from the Index document?


To my knowledge there's no way to selectively update specific fields. An update operation performs a complete replace of all document data. Since Solr is open source, it's possible that you could produce your own component for this if really desired.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号