Skip to content

Commit 183569b

Browse files
author
Saman Ghannadzadeh
committed
Make solr-config-9.xml compatible with Solr 9.8.1
Changes: * remove `numVersionBuckets` which is obsolete and ignored' * remove `<lib ..>`, and instead leave a comment for user to enable modules
1 parent 7f9cb31 commit 183569b

File tree

1 file changed

+4
-52
lines changed

1 file changed

+4
-52
lines changed

doc/solr-config-9.xml

Lines changed: 4 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -37,54 +37,13 @@
3737
-->
3838
<luceneMatchVersion>9.8</luceneMatchVersion>
3939

40-
<!-- <lib/> directives can be used to instruct Solr to load any Jars
41-
identified and use them to resolve any "plugins" specified in
42-
your solrconfig.xml or schema.xml (ie: Analyzers, Request
43-
Handlers, etc...).
40+
<!-- You need to add enable the use of the `analysis-extras` module, by either:
4441
45-
All directories and paths are resolved relative to the
46-
instanceDir.
47-
48-
Please note that <lib/> directives are processed in the order
49-
that they appear in your solrconfig.xml file, and are "stacked"
50-
on top of each other when building a ClassLoader - so if you have
51-
plugin jars with dependencies on other jars, the "lower level"
52-
dependency jars should be loaded first.
53-
54-
If a "./lib" directory exists in your instanceDir, all files
55-
found in it are included as if you had used the following
56-
syntax...
57-
58-
<lib dir="./lib" />
42+
* modifying the "solr.modules" parameter in solr.xml to include "analysis-extras",
43+
e.g. set: <str name="modules">${solr.modules:analysis-extras}</str>
44+
* adding "-Dsolr.modules=analysis-extras" to the solr start command line.
5945
-->
6046

61-
<!-- A 'dir' option by itself adds any files found in the directory
62-
to the classpath, this is useful for including all jars in a
63-
directory.
64-
65-
When a 'regex' is specified in addition to a 'dir', only the
66-
files in that directory which completely match the regex
67-
(anchored on both ends) will be included.
68-
69-
If a 'dir' option (with or without a regex) is used and nothing
70-
is found that matches, a warning will be logged.
71-
72-
The example below can be used to load a Solr Module along
73-
with their external dependencies.
74-
-->
75-
<!-- <lib dir="${solr.install.dir:../../../..}/modules/ltr/lib" regex=".*\.jar" /> -->
76-
77-
<!-- Load ICU analyser -->
78-
<lib dir="${solr.install.dir:../../../..}/modules/analysis-extras/lib" regex="icu4j-.*\.jar"/>
79-
<lib dir="${solr.install.dir:../../../..}/modules/analysis-extras/lib" regex="lucene-analysis-icu-.*\.jar"/>
80-
<!-- an exact 'path' can be used instead of a 'dir' to specify a
81-
specific jar file. This will cause a serious error to be logged
82-
if it can't be loaded.
83-
-->
84-
<!--
85-
<lib path="../a-jar-that-does-not-exist.jar" />
86-
-->
87-
8847
<!-- Data Directory
8948
9049
Used to specify an alternate directory to hold all index data
@@ -259,16 +218,9 @@
259218
is recommended (see below).
260219
"dir" - the target directory for transaction logs, defaults to the
261220
solr data directory.
262-
"numVersionBuckets" - sets the number of buckets used to keep
263-
track of max version values when checking for re-ordered
264-
updates; increase this value to reduce the cost of
265-
synchronizing access to version buckets during high-volume
266-
indexing, this requires 8 bytes (long) * numVersionBuckets
267-
of heap space per Solr core.
268221
-->
269222
<updateLog>
270223
<str name="dir">${solr.ulog.dir:}</str>
271-
<int name="numVersionBuckets">${solr.ulog.numVersionBuckets:65536}</int>
272224
</updateLog>
273225

274226
<!-- AutoCommit

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy