-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge in of some changes to the Catalog, mostly things that are appea…
…rance driven.
- Loading branch information
Showing
11 changed files
with
265 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
<dtml-var manage_page_header> | ||
<dtml-var manage_tabs> | ||
|
||
<br /> | ||
<table width="100%" cellspacing="0" cellpadding="2" border="0"> | ||
<tr class="section-bar"> | ||
<td colspan="2" align="left"> | ||
<div class="form-label"> | ||
Catalog Maintenance | ||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td align="left" valign="top"> | ||
<p class="form-help"> Updating the catalog will update all catalog | ||
records and remove invalid records. It does this by deleting all | ||
indexes and re-cataloging all currently indexed objects. | ||
</p> | ||
</td> | ||
<td align="right" valign="top"> | ||
<form action="<dtml-var URL1>"> | ||
<input class="form-element" type="submit" | ||
name="manage_catalogReindex:method" value=" Update Catalog "> | ||
</form> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td align="left" valign="top"> | ||
<p class="form-help">Clearing the catalog will remove all entries. | ||
</p> | ||
</td> | ||
<td align="right" valign="top"> | ||
<form action="<dtml-var URL1>"> | ||
<input class="form-element" type="submit" | ||
name="manage_catalogClear:method" value=" Clear Catalog "> | ||
</form> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
|
||
</td> | ||
</tr> | ||
<tr class="section-bar"> | ||
<td colspan="2" align="left"> | ||
<div class="form-label"> | ||
Subtransactions | ||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2" align="left" valign="top"> | ||
|
||
<p class="form-help"> Subtransactions allow Zope to commit small | ||
parts of a transaction over a period of time instead of all at | ||
once. For ZCatalog, this means using subtransactions can | ||
signficantly reduce the memory requirements needed to index huge | ||
amounts of text all at once. Currently, subtransactions are only | ||
applied to text indexes.</p> | ||
|
||
<p class="form-help"> If enabled, subtransactions will reduce the memory | ||
requirements of ZCatalog, but <em>at the expense of speed</em>. | ||
If you choose to enable subtransactions, you can adjust how often | ||
ZCatalog commits a subtransactions by adjusting the | ||
<em>threshold</em> below.</p> | ||
|
||
<p class="form-help"> If you are using ZCatalog and ZSQL Methods | ||
in the same transaction, you <em>must</em> disable | ||
subtransactions, they are not compatible with ZSQL Methods.</p> | ||
<br /> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td align="left" valign="top"> | ||
<p>Subtransactions are | ||
<dtml-if threshold> | ||
<font color="green"><b>Enabled</b></font> | ||
<dtml-else> | ||
<font color="red"><b>Disabled</b></font> | ||
</dtml-if></p> | ||
</td> | ||
<td align="right" valign="top"> | ||
<form action="<dtml-var URL1>" method="POST"> | ||
<div class="form-element"> | ||
<dtml-if threshold> | ||
<input class="form-element" type="submit" | ||
name="manage_subbingToggle:method" | ||
value="Disable" /> | ||
<dtml-else> | ||
<input class="form-element" type="submit" | ||
name="manage_subbingToggle:method" | ||
value="Enable" /> | ||
</dtml-if> | ||
</div> | ||
</form> | ||
</td> | ||
</tr> | ||
<dtml-if threshold> | ||
<tr> | ||
<td align="left" valign="top"> | ||
<p class="form-help">The Subtransaction threshold is the number of words the catalog | ||
will index before it commits a subtransaction. If this number | ||
is low, the Catalog will take longer to index but consume less | ||
memory. If this number is higher, the Catalog will index | ||
quickly but consume much more memory.</p> | ||
</td> | ||
<td align="right" valign="top"> | ||
<form action="manage_edit" method=POST> | ||
<div class="form-element"> | ||
<input name="threshold:int" value="<dtml-var | ||
threshold html_quote>" /> | ||
<input type="submit" name="submit" value="Set Threshold"> | ||
</div> | ||
</form> | ||
</dtml-if> | ||
</td> | ||
</tr> | ||
</table> | ||
<dtml-var manage_page_footer> | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.