[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml - addTextIndexNG.dtml:1.1.2.8 manageTextIndexNG.dtml:1.1.2.5

Andreas Jung andreas@digicool.com
Thu, 14 Feb 2002 19:21:09 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml
In directory cvs.zope.org:/tmp/cvs-serv31475

Modified Files:
      Tag: ajung-textindexng-branch
	addTextIndexNG.dtml manageTextIndexNG.dtml 
Log Message:
cleanup and some renaming


=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml/addTextIndexNG.dtml 1.1.2.7 => 1.1.2.8 ===
     <td align="left" valign="top">
     <div class="form-label">
-    Near Search
-    </div>
-    </td>
-    <td>
-    <select name="extra.nearSearch:record:string:empty">  
-      <dtml-in "(('None','Disabled'),('internal','internal Storage'),('documentLookup','Document Lookup'))">
-        <option value="&dtml-sequence-key;">&dtml-sequence-item;</option>
-      </dtml-in>
-    </select>
-    </td> 
-  </tr>
-
-  <tr>
-    <td align="left" valign="top">
-    <div class="form-label">
     Near search distance
     </div>
     </td>
@@ -204,11 +189,11 @@
   <tr>
     <td align="left" valign="top">
     <div class="form-label">
-    Proximity algorithm
+    Similarity algorithm
     </div>
     </td>
     <td>
-    <select name="extra.useProximity:record:string:empty">  
+    <select name="extra.useSimilarity:record:string:empty">  
       <option value="">disabled</option>
       <option value="metaphone">Metaphone</option>
       <option value="soundex">Soundex</option>


=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml/manageTextIndexNG.dtml 1.1.2.4 => 1.1.2.5 ===
 
 <tr>
-  <th align="left">Near search</th>
-  <td>
-    <dtml-if "nearSearch==None">disabled
-     <dtml-else> &dtml-nearSearch;
-    </dtml-if> 
-  </td>
-</tr>
-
-<tr>
   <th align="left">Near distance</th>
   <td> &dtml-nearDistance;</td>
 </tr>
@@ -117,9 +108,9 @@
 </tr>
 
 <tr>
-  <th align="left">Proximity search</th>
+  <th align="left">Similarity search</th>
   <td>
-    <dtml-if useProximity>&dtml-useProximity;
+    <dtml-if useSimilarity>&dtml-useSimilarity;
      <dtml-else> disabled
     </dtml-if>
   </td>