|
32 | 32 |
|
33 | 33 | <codecFactory class="solr.SchemaCodecFactory"/> |
34 | 34 |
|
35 | | - <!-- Use classic schema.xml & disallow programmatic changes to schema at runtime --> |
| 35 | + <!-- Use classic schema.xml & disallow programmatic changes to |
| 36 | + schema at runtime --> |
36 | 37 | <schemaFactory class="ClassicIndexSchemaFactory"/> |
37 | 38 |
|
38 | 39 | <indexConfig> |
39 | 40 | <ramBufferSizeMB>32</ramBufferSizeMB> |
40 | 41 | <maxBufferedDocs>1000</maxBufferedDocs> |
41 | 42 | <lockType>${solr.lock.type:native}</lockType> |
42 | | - <!-- Set to true to "write detailed debug information from the indexing process as Solr log messages" --> |
| 43 | + <!-- Set to true to "write detailed debug information from the |
| 44 | + indexing process as Solr log messages" --> |
43 | 45 | <infoStream>false</infoStream> |
44 | 46 | </indexConfig> |
45 | 47 |
|
|
48 | 50 | <!-- How often should commits be done automatically --> |
49 | 51 | <autoCommit> |
50 | 52 | <maxDocs>10000</maxDocs> <!--Commit every 10.000 documents--> |
51 | | - <maxTime>${solr.autoCommit.maxTime:900000}</maxTime> <!--Default commit every 15 minutes--> |
| 53 | + <maxTime>${solr.autoCommit.maxTime:10000}</maxTime> <!--Ten seconds--> |
52 | 54 | <openSearcher>true</openSearcher> |
53 | 55 | </autoCommit> |
54 | 56 |
|
|
62 | 64 | <maxBooleanClauses>${solr.max.booleanClauses:1024}</maxBooleanClauses> |
63 | 65 |
|
64 | 66 | <!-- Cache used by SolrIndexSearcher for filters (DocSets) for |
65 | | - unordered sets of *all* documents that match a query. Caches results of 'fq' search param. --> |
| 67 | + unordered sets of *all* documents that match a |
| 68 | + query. Caches results of 'fq' search param. --> |
66 | 69 | <filterCache class="solr.search.CaffeineCache" |
67 | 70 | size="512" |
68 | 71 | initialSize="512" |
69 | 72 | autowarmCount="0"/> |
70 | 73 |
|
71 | | - <!-- Caches results of previous searches - ordered lists of document ids |
72 | | - (DocList) based on a query, a sort, and the range of documents requested. --> |
| 74 | + <!-- Caches results of previous searches - ordered lists of |
| 75 | + document ids (DocList) based on a query, a sort, and the |
| 76 | + range of documents requested. --> |
73 | 77 | <queryResultCache class="solr.search.CaffeineCache" |
74 | 78 | size="512" |
75 | 79 | initialSize="512" |
|
91 | 95 | <slowQueryThresholdMillis>1000</slowQueryThresholdMillis> |
92 | 96 | </query> |
93 | 97 |
|
94 | | - <!-- Controls how the Solr HTTP RequestDispatcher responds to requests --> |
| 98 | + <!-- Controls how the Solr HTTP RequestDispatcher responds to |
| 99 | + requests --> |
95 | 100 | <requestDispatcher handleSelect="false" > |
96 | 101 | <requestParsers enableRemoteStreaming="true" |
97 | 102 | multipartUploadLimitInKB="-1" |
|
113 | 118 |
|
114 | 119 | <!-- Processes updates to the index --> |
115 | 120 | <requestHandler name="/update" class="solr.UpdateRequestHandler"> |
116 | | - <!-- Update chain processor required by DSpace to auto generate the UUID field in solr --> |
| 121 | + <!-- Update chain processor required by DSpace to auto |
| 122 | + generate the UUID field in solr --> |
117 | 123 | <lst name="defaults"> |
118 | 124 | <str name="update.chain">uuid</str> |
119 | 125 | </lst> |
|
126 | 132 | </lst> |
127 | 133 | </requestHandler> |
128 | 134 |
|
129 | | - <!-- Required for DSpace to ensure that unique identifiers are added to each solr document --> |
| 135 | + <!-- Required for DSpace to ensure that unique identifiers are |
| 136 | + added to each solr document --> |
130 | 137 | <updateRequestProcessorChain name="uuid"> |
131 | 138 | <processor class="solr.UUIDUpdateProcessorFactory"> |
132 | 139 | <str name="fieldName">uid</str> |
|
0 commit comments