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.
我想使用 Apache-Solr 在我的 java 应用程序中进行索引和搜索。但我不知道如何在线配置它。我可以在根文件夹中复制我的 solr 目录,但我不知道在哪里复制包含 solrconfig 文件、核心等的目录。希望得到解决方案。提前致谢。
您可以将配置文件和核心目录保持在相同的目录结构中。请注意,您存储索引文件的位置(在 solrconfig.xml 的 dataDir 参数中配置),这样它们就不会超出您的磁盘容量。