"Fossies" - the Fresh Open Source Software Archive

Member "solr-8.4.1/solr/example/example-DIH/solr/tika/conf/solrconfig.xml" (10 Jan 2020, 2410 Bytes) of package /linux/www/solr-8.4.1-src.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "solrconfig.xml": 8.4.0_vs_8.4.1.

    1 <?xml version="1.0" encoding="UTF-8" ?>
    2 <!--
    3  Licensed to the Apache Software Foundation (ASF) under one or more
    4  contributor license agreements.  See the NOTICE file distributed with
    5  this work for additional information regarding copyright ownership.
    6  The ASF licenses this file to You under the Apache License, Version 2.0
    7  (the "License"); you may not use this file except in compliance with
    8  the License.  You may obtain a copy of the License at
    9 
   10      http://www.apache.org/licenses/LICENSE-2.0
   11 
   12  Unless required by applicable law or agreed to in writing, software
   13  distributed under the License is distributed on an "AS IS" BASIS,
   14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   15  See the License for the specific language governing permissions and
   16  limitations under the License.
   17 -->
   18 
   19 <!--
   20  This is a DEMO configuration highlighting elements
   21  specifically needed to get this example running
   22  such as libraries and request handler specifics.
   23 
   24  It uses defaults or does not define most of production-level settings
   25  such as various caches or auto-commit policies.
   26 
   27  See Solr Reference Guide and other examples for
   28  more details on a well configured solrconfig.xml
   29  https://lucene.apache.org/solr/guide/the-well-configured-solr-instance.html
   30 -->
   31 
   32 <config>
   33   <!-- Controls what version of Lucene various components of Solr
   34    adhere to.  Generally, you want to use the latest version to
   35    get all bug fixes and improvements. It is highly recommended
   36    that you fully re-index after changing this setting as it can
   37    affect both how text is indexed and queried.
   38   -->
   39   <luceneMatchVersion>8.4.1</luceneMatchVersion>
   40 
   41   <!-- Load Data Import Handler and Apache Tika (extraction) libraries -->
   42   <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar"/>
   43   <lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar"/>
   44 
   45   <requestHandler name="/select" class="solr.SearchHandler">
   46     <lst name="defaults">
   47       <str name="echoParams">explicit</str>
   48       <str name="df">text</str>
   49        <!-- Change from JSON to XML format (the default prior to Solr 7.0)
   50           <str name="wt">xml</str> 
   51          -->
   52     </lst>
   53   </requestHandler>
   54 
   55   <requestHandler name="/dataimport" class="solr.DataImportHandler">
   56     <lst name="defaults">
   57       <str name="config">tika-data-config.xml</str>
   58     </lst>
   59   </requestHandler>
   60 
   61 </config>