~slub.team/goobi-indexserver/3.x

« back to all changes in this revision

Viewing changes to solr/core/src/test-files/solr/conf/solrconfig-querysender-noquery.xml

  • Committer: Sebastian Meyer
  • Date: 2012-08-03 09:12:40 UTC
  • Revision ID: sebastian.meyer@slub-dresden.de-20120803091240-x6861b0vabq1xror
Remove Lucene and Solr source code and add patches instead
Fix Bug #985487: Auto-suggestion for the search interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" ?>
2
 
 
3
 
<!--
4
 
 Licensed to the Apache Software Foundation (ASF) under one or more
5
 
 contributor license agreements.  See the NOTICE file distributed with
6
 
 this work for additional information regarding copyright ownership.
7
 
 The ASF licenses this file to You under the Apache License, Version 2.0
8
 
 (the "License"); you may not use this file except in compliance with
9
 
 the License.  You may obtain a copy of the License at
10
 
 
11
 
     http://www.apache.org/licenses/LICENSE-2.0
12
 
 
13
 
 Unless required by applicable law or agreed to in writing, software
14
 
 distributed under the License is distributed on an "AS IS" BASIS,
15
 
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
 
 See the License for the specific language governing permissions and
17
 
 limitations under the License.
18
 
-->
19
 
 
20
 
<!-- $Id: solrconfig-querysender.xml 1048886 2010-12-14 01:10:52Z hossman $
21
 
     $Source$
22
 
     $Name$
23
 
  -->
24
 
 
25
 
<config>
26
 
  <luceneMatchVersion>${tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion>
27
 
  <!--  The DirectoryFactory to use for indexes.
28
 
solr.StandardDirectoryFactory, the default, is filesystem based.
29
 
solr.RAMDirectoryFactory is memory based and not persistent. -->
30
 
  <directoryFactory name="Dir�ctoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
31
 
 
32
 
  <updateHandler class="solr.DirectUpdateHandler2">
33
 
    <listener event="postCommit"
34
 
              class="org.apache.solr.core.MockEventListener"/>
35
 
    <listener event="postOptimize"
36
 
              class="org.apache.solr.core.MockEventListener"/>
37
 
  </updateHandler>
38
 
 
39
 
  <query>
40
 
 
41
 
 
42
 
    <!-- a newSearcher event is fired whenever a new searcher is being prepared
43
 
and there is a current searcher handling requests (aka registered). -->
44
 
    <!-- QuerySenderListener takes an array of NamedList and executes a
45
 
         local query request for each NamedList in sequence. -->
46
 
    <listener event="newSearcher" class="solr.QuerySenderListener">
47
 
      <!--
48
 
      <arr name="queries">
49
 
        <lst> <str name="q">solr</str> <str name="start">0</str> <str name="rows">10</str> <str name="qt">mock</str></lst>
50
 
        <lst> <str name="q">rocks</str> <str name="start">0</str> <str name="rows">10</str> <str name="qt">mock</str></lst>
51
 
      </arr>
52
 
      -->
53
 
    </listener>
54
 
    <listener event="newSearcher"
55
 
              class="org.apache.solr.core.MockEventListener"/>
56
 
 
57
 
 
58
 
    <!-- a firstSearcher event is fired whenever a new searcher is being
59
 
         prepared but there is no current registered searcher to handle
60
 
         requests or to gain prewarming data from. -->
61
 
    <listener event="firstSearcher" class="solr.QuerySenderListener">
62
 
      <!--
63
 
      <arr name="queries">
64
 
        <lst> <str name="q">fast_warm</str> <str name="start">0</str> <str name="rows">10</str>
65
 
          <str name="qt">mock</str>
66
 
        </lst>
67
 
      </arr>
68
 
      -->
69
 
    </listener>
70
 
    <listener event="firstSearcher"
71
 
              class="org.apache.solr.core.MockEventListener"/>
72
 
 
73
 
 
74
 
  </query>
75
 
  <requestHandler name="mock" class="org.apache.solr.core.MockQuerySenderListenerReqHandler" default="true">
76
 
    <!-- default values for query parameters -->
77
 
 
78
 
  </requestHandler>
79
 
</config>