简体   繁体   English

Solr 可以索引包含本地计算机上文件的文件夹目录吗?

[英]Can Solr index a directory of folders with files on my local computer?

Im wondering if I can get Solr to index a directory on my local computer that contains many folders containing the files I want indexed.我想知道我是否可以让 Solr 索引我本地计算机上的目录,该目录包含许多包含我想要索引的文件的文件夹。 Also, could I exclude some file types as well?另外,我也可以排除某些文件类型吗?

Heres the command I ran that worked: java -Dc=myCollection -Drecursive -Dauto -jar example/exampledocs/post.jar c:/folder1/folder2这是我运行的有效命令: java -Dc=myCollection -Drecursive -Dauto -jar example/exampledocs/post.jar c:/folder1/folder2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM