[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml - manageTextIndexNG.dtml:1.1.2.4
Andreas Jung
andreas@digicool.com
Tue, 22 Jan 2002 10:49:43 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml
In directory cvs.zope.org:/tmp/cvs-serv3311
Modified Files:
Tag: ajung-textindexng-branch
manageTextIndexNG.dtml
Log Message:
code cleanup
=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml/manageTextIndexNG.dtml 1.1.2.3 => 1.1.2.4 ===
<table border="0" cellspacing="2" cellpadding="2">
+<dtml-comment>
<tr>
<th align="left" width="20%">Vocabulary to use</th>
@@ -28,51 +29,60 @@
when you change the vocabulary after indexing objects.
</td>
</tr>
+</dtml-comment>
<tr>
<th align="left">Stemmer</th>
<td>
- <select name="extra.useStemmer:record:string">
- <dtml-in availableStemmers>
- <dtml-if "_.getitem('sequence-item')==useStemmer">
- <option value="&dtml-sequence-item;" selected>&dtml-sequence-item;
- <dtml-else>
- <option value="&dtml-sequence-item;">&dtml-sequence-item;
- </dtml-if>
- </dtml-in>
- </select>
- </td>
+ <dtml-if "useStemmer==None">No stemming
+ <dtml-else> &dtml-useStemmer;
+ </dtml-if>
</tr>
-
<tr>
<th align="left">Splitter</th>
- <td>
- <select name="extra.useSplitter:record:string">
- <dtml-in availableSplitters>
- <dtml-if "_.getitem('sequence-key')==useSplitter">
- <option value="&dtml-sequence-key;" selected>&dtml-sequence-item;
- <dtml-else>
- <option value="&dtml-sequence-key;">&dtml-sequence-item;
- </dtml-if>
- </dtml-in>
- </select>
- </td>
+ <td> &dtml-useSplitter;</td>
+</tr>
+
+<tr>
+ <th align="left">Splitter: casefolding</th>
+ <td>
+ <dtml-if "splitterCasefolding==1">enabled
+ <dtml-else> disabled
+ </dtml-if>
+ </td>
+</tr>
+
+<tr>
+ <th align="left">Splitter: index numbers</th>
+ <td>
+ <dtml-if "splitterIndexNumbers == 1">enabled
+ <dtml-else> disabled
+ </dtml-if>
+ </td>
+</tr>
+
+<tr>
+ <th align="left">Splitter: index single characters</th>
+ <td>
+ <dtml-if "splitterSingleChars == 1">enabled
+ <dtml-else> disabled
+ </dtml-if>
+ </td>
+</tr>
+
+<tr>
+ <th align="left">Splitter: max. length of splitted words</th>
+ <td> &dtml-splitterMaxLen;</td>
</tr>
<tr>
<th align="left">Globbing</th>
<td>
- <select name="extra.useGlobbing:record:int">
- <dtml-in "((1,'enabled'),(0,'disabled'))">
- <dtml-if "_.getitem('sequence-key')==useGlobbing">
- <option value="&dtml-sequence-key;" selected>&dtml-sequence-item;
- <dtml-else>
- <option value="&dtml-sequence-key;">&dtml-sequence-item;
- </dtml-if>
- </dtml-in>
- </select>
+ <dtml-if "useGlobbing==1">enabled
+ <dtml-else> disabled
+ </dtml-if>
</td>
</tr>
@@ -80,39 +90,17 @@
<tr>
<th align="left">Near search</th>
<td>
- <select name="extra.useNearSearch:record:int">
- <dtml-in "((1,'enabled'),(0,'disabled'))">
- <dtml-if "_.getitem('sequence-key')==useNearSearch">
- <option value="&dtml-sequence-key;" selected>&dtml-sequence-item;
- <dtml-else>
- <option value="&dtml-sequence-key;">&dtml-sequence-item;
- </dtml-if>
- </dtml-in>
- </select>
+ <dtml-if "nearSearch==None">disabled
+ <dtml-else> &dtml-nearSearch;
+ </dtml-if>
</td>
</tr>
-
<tr>
<th align="left">Near distance</th>
- <td>
- <select name="extra.useNearSearch:record:int">
- <dtml-in "_.range(1,10)">
- <dtml-if "_.getitem('sequence-item')==nearDistance">
- <option value="&dtml-sequence-item;" selected>&dtml-sequence-item;
- <dtml-else>
- <option value="&dtml-sequence-item;">&dtml-sequence-item;
- </dtml-if>
- </dtml-in>
- </select>
- </td>
+ <td> &dtml-nearDistance;</td>
</tr>
-
-
-
-
-
<tr>
<th align="left">Default text operator</th>
<td>
@@ -126,6 +114,16 @@
</dtml-in>
</select>
</td>
+</tr>
+
+<tr>
+ <th align="left">Proximity search</th>
+ <td>
+ <dtml-if useProximity>&dtml-useProximity;
+ <dtml-else> disabled
+ </dtml-if>
+ </td>
+</tr>
<tr>
<td colspan="3">