9.2. Core Admin

简介:

创建 Core

		
$ bin/solr create -c solr_docs

Setup new core instance directory:
/srv/solr/server/solr/solr_docs

Creating new core 'solr_docs' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=solr_docs&instanceDir=solr_docs

{
  "responseHeader":{
    "status":0,
    "QTime":865},
  "core":"solr_docs"}
		
		
		
$ bin/solr create -c test

Setup new core instance directory:
/srv/solr/server/solr/test

Creating new core 'test' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=test&instanceDir=test

{
  "responseHeader":{
    "status":0,
    "QTime":246},
  "core":"test"}
		
		

9.2.1. Schema

cd server/solr/
cp -r configsets/sample_techproducts_configs new_core			
			
			

			
			

例 9.1. Solr - schema.xml

				
				

				
				





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
7月前
|
数据安全/隐私保护 Python
配置Admin
配置Admin。
52 1
|
安全 网络协议 应用服务中间件
Setting Up a Server Cluster for Enterprise Web Apps – Part 3
In this three-part tutorial, we will discover how to set up a server cluster using Alibaba Cloud ECS and WordPress.
4591 0
Setting Up a Server Cluster for Enterprise Web Apps – Part 3
|
前端开发 应用服务中间件 网络安全
Setting up a Server Cluster for Enterprise Web Apps – Part 2
In this three-part tutorial, we will discover how to set up a server cluster using Alibaba Cloud ECS and WordPress.
1848 0
Setting up a Server Cluster for Enterprise Web Apps – Part 2
|
前端开发 网络协议 MySQL
Setting Up a Server Cluster for Enterprise Web Apps – Part 1
In this three-part tutorial, we will discover how to set up a server cluster using Alibaba Cloud ECS and WordPress.
12072 0
Setting Up a Server Cluster for Enterprise Web Apps – Part 1
|
应用服务中间件 Apache
|
数据安全/隐私保护