1. Put the patch into trunk.
2. Added access control to solr /admin/ pages.
3. Upgraded solr to 4.9.0 to match Lucene version in trunk.
4. Removed solr.solr.home, used
SolrResourceLoader loader = new SolrResourceLoader("specialpurpose/solr/conf");
instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700119 13f79535-47bb-0310-9956-ffa450edef68
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<!--
|
|
This is an example of a simple "solr.xml" file for configuring one or
|
|
more Solr Cores, as well as allowing Cores to be added, removed, and
|
|
reloaded via HTTP requests.
|
|
|
|
More information about options available in this configuration file,
|
|
and Solr Core administration can be found online:
|
|
http://wiki.apache.org/solr/CoreAdmin
|
|
-->
|
|
|
|
<solr persistent="false">
|
|
|
|
<!--
|
|
adminPath: RequestHandler path to manage cores.
|
|
If 'null' (or absent), cores will not be manageable via request handler
|
|
-->
|
|
<cores adminPath="/admin/cores" shareSchema="true">
|
|
<core name="solrdefault" instanceDir="../solrdefault/" />
|
|
</cores>
|
|
|
|
</solr>
|