-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathconfig_documentation.xml
More file actions
33 lines (33 loc) · 1.31 KB
/
config_documentation.xml
File metadata and controls
33 lines (33 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<!--Configuration file file:/Users/takeda/projects/staticSearch/config_documentation.xml converted to version 2 2025-02-19.-->
<config xmlns="http://hcmc.uvic.ca/ns/staticSearch" version="2">
<params>
<searchPage file="docs/index.html"/>
<index recurse="false"/>
<stopwords file="stopwords/stopwords_en.txt"/>
<dictionary file="dicts/words_en.txt"/>
<scoringAlgorithm name="raw"/>
<stemmer dir="stemmers/en"/>
<tokenizer minWordLength="2"/>
<createContexts create="true"
phrasalSearch="true"
wildcardSearch="true"
maxKwicLength="15"
kwicTruncateString="..."/>
<results resultsPerPage="0" maxKwicsToShow="10" maxResults="2000"/>
<version file="test/VERSION"/>
<output dir="search"/>
</params>
<rules>
<rule weight="2" match="h1 | h2"/>
<!--ignore the TOC-->
<rule weight="0" match="div[contains-token(@class,'tei_front')]"/>
<!--Don't index codeblocks in table cells-->
<rule weight="0" match="td/pre"/>
</rules>
<excludes>
<!--Ignore the master SS doc from the search-->
<exclude type="index"
match="html[matches(base-uri(/),'staticSearch.html$')]"/>
</excludes>
</config>