简体   繁体   English

无法通过Solr搜索扩展Sitecore

[英]Cannot scale sitecore with solr search

I am using Solr 4.3.0 and referring this document where I am generating the schema.xml by clicking Generate the Solr Schema.xml file in the control panel but I am not able to figure out what exactly should I do the two schema.xml files and where exactly am I supposed to place it. 我使用Solr的4.3.0并参照这个文件在那里,我通过单击生成在控制面板Solr的Schema.xml文件生成schema.xml中,但我无法弄清楚究竟我应该做两个schema.xml中文件以及我应该在哪里放置它。 I could not proceed until I find a way. 在找到解决方法之前,我无法继续进行。 I am stuck at page 31 on the PDF. 我被困在PDF的第31页。

  1. Open the location of Solr core configuration, eg C:\\solr-4.3.0\\example\\solr\\itembuckets\\conf 打开Solr核心配置的位置,例如C:\\solr-4.3.0\\example\\solr\\itembuckets\\conf
  2. Copy schema.xml file to original-schema.xml schema.xml文件复制到original-schema.xml
  3. Login to Sitecore Desktop 登录到Sitecore Desktop
  4. Open Control Panel -> Indexing application 打开Control Panel -> Indexing应用程序
  5. Select Generate the Solr Schema.xml file 选择Generate the Solr Schema.xml file
  6. For Source File select original-schema.xml from the point 2. 对于Source File从第2点中选择original-schema.xml
  7. For Target File select schema.xml from point 2. 对于Target File从第2点中选择schema.xml
  8. Click Generate > 点击Generate >

Sitecore will use the original-schema.xml file as a base and will override schema.xml Solr configuration with the configuration containing required changes. Sitecore将使用original-schema.xml文件作为基础,并将使用包含所需更改的配置覆盖schema.xml Solr配置。

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

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