forked from projectEndings/staticSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_emod.xml
More file actions
29 lines (27 loc) · 1.06 KB
/
config_emod.xml
File metadata and controls
29 lines (27 loc) · 1.06 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
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://hcmc.uvic.ca/ns/staticSearch">
<params>
<searchFile>emod/search.html</searchFile>
<recurse>true<!--Need to set recurse to true for the test--></recurse>
<phrasalSearch>true</phrasalSearch>
<wildcardSearch>true</wildcardSearch>
<createContexts>true</createContexts>
<!--NOTE: If phrasalSearch is set to TRUE, then
maxContexts prop will be ignored-->
<maxKwicsToHarvest>3</maxKwicsToHarvest>
<maxKwicsToShow>3</maxKwicsToShow>
<totalKwicLength>15</totalKwicLength>
<kwicTruncateString>...</kwicTruncateString>
<verbose>false</verbose>
<stopwordsFile>test/test_stopwords.txt</stopwordsFile>
<dictionaryFile>xsl/english_words.txt</dictionaryFile>
<indentJSON>true</indentJSON>
<outputFolder>ssTest</outputFolder>
</params>
<rules>
<rule weight="2"
match="h1 | h2"/>
<rule weight="0"
match="span[@class='lineNum']"/>
</rules>
</config>