Skip to content

Commit 7e26af9

Browse files
authored
Merge pull request #268 from joewiz/update-indexer-sample
Copy <indexer> from current conf.xml
2 parents d22c88e + b7553c5 commit 7e26af9

File tree

1 file changed

+38
-23
lines changed

1 file changed

+38
-23
lines changed
Lines changed: 38 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,43 @@
1-
<indexer caseSensitive="no" suppress-whitespace="both" index-depth="1" tokenizer="org.exist.storage.analysis.SimpleTokenizer" validation="no">
2-
3-
<modules>
4-
<module id="ngram-index" class="org.exist.indexing.ngram.NGramIndex" file="ngram.dbx" n="3"/>
1+
<indexer caseSensitive="yes" index-depth="5" preserve-whitespace-mixed-content="no"
2+
suppress-whitespace="none">
3+
4+
<modules>
5+
<module id="ngram-index" file="ngram.dbx" n="3" class="org.exist.indexing.ngram.NGramIndex"/>
6+
57
<!--
6-
<module id="spatial-index" class="org.exist.indexing.spatial.GMLHSQLIndex"
7-
connectionTimeout="10000" flushAfter="300" />
8-
-->
9-
<!-- The full text index is always required and should
10-
not be disabled. We still have some dependencies on
11-
this index in the database core. These will be removed
12-
once the redesign has been completed. -->
13-
<module id="ft-legacy-index" class="org.exist.fulltext.FTIndex"/>
8+
<module id="spatial-index" connectionTimeout="10000" flushAfter="300" class="org.exist.indexing.spatial.GMLHSQLIndex"/>
9+
-->
10+
11+
<module id="lucene-index" buffer="32" class="org.exist.indexing.lucene.LuceneIndex" />
12+
13+
<!--
14+
The following index can be used to speed up 'order by' expressions
15+
by pre-ordering a node set.
16+
-->
17+
<module id="sort-index" class="org.exist.indexing.sort.SortIndex"/>
18+
19+
<!--
20+
New range index based on Apache Lucene. Replaces the old range index which is
21+
hard-wired into eXist core.
22+
-->
23+
<module id="range-index" class="org.exist.indexing.range.RangeIndex"/>
24+
25+
<!--
26+
The following module is not really an index (though it sits
27+
in the index pipeline). It gathers relevant statistics on the
28+
distribution of elements in the database, which can be used
29+
by the query optimizer for additional optimizations.
30+
-->
31+
<!--
32+
<module id="index-stats" file="stats.dbx" class="org.exist.storage.statistics.IndexStatistics" />
33+
-->
1434
</modules>
15-
16-
<stopwords file="stopword"/>
17-
18-
<!-- Default index configuration -->
35+
36+
<!--
37+
Default index settings. Default settings apply if there's no
38+
collection-specific configuration for a collection.
39+
-->
1940
<index>
20-
<fulltext default="all" attributes="false">
21-
<exclude path="/auth"/>
22-
</fulltext>
41+
<!-- settings go here -->
2342
</index>
24-
25-
<entity-resolver>
26-
<catalog file="samples/xcatalog.xml"/>
27-
</entity-resolver>
2843
</indexer>

0 commit comments

Comments
 (0)