solr + haystack + django我在哪里放置schema.xml? [英] solr + haystack + django where do I place schema.xml?

查看:193
本文介绍了solr + haystack + django我在哪里放置schema.xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚为 Django Solr Haystack >我正在努力的项目。遵循 Haystack 教程我创建一个schema.xml,但我不知道将其放在Solr安装中。

I just installed Solr and Haystack for a Django project I'm working on. Following this Haystack tutorial I created a schema.xml but I'm not sure where to place it in the Solr installation.

我的 Solr 安装在这样的目录中: / solr ,我从开始 Solr 服务/ solr / example 使用此命令 java -jar start.jar

My Solr installation is in a directory like this: /solr and I'm starting the Solr service from /solr/example with this command java -jar start.jar.

任何想法在哪里放置该schema.xml以及如何告诉Solr使用它?

Any ideas where to place that schema.xml and how to tell Solr to use it?

推荐答案

Solr在Solr home目录下的./conf目录中查找schema.xml。

Solr looks for schema.xml in the ./conf directory under the "Solr home" directory.

查看此页面了解更多信息。

See this page for more info.

http://wiki.apache.org/solr/ConfiguringSolr

这篇关于solr + haystack + django我在哪里放置schema.xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆