Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 solr 索引 cifs 服务器上的某些文档?
谢谢
CIFS 是一种网络协议。Solr 不会“谈论”CIFS。但是,如果您的服务器能够堆积 CIFS 卷,您可以索引这些文档。如果 CIFS 共享由 windows 或 linux 服务器共享,也可以在文件服务器上运行 Solr,因为 Solr/Lucene 是用 Java 编写的,并且也可以在 windows 和 linux 上运行。
正如 Mauricio Scheffer 所写,要导入文档,请使用数据导入处理程序 (DIH)。DIH 能够递归地爬取目录以索引他找到的数据。