If you'd like to reduce the length of the summary that is created when a user searches, you can add the following to /etc/dekiwiki/mindtouch.deki.startup.xml and add the following line below the <indexer> line:
<preview-length>4096</preview-length>
Then you need to restart DekiWiki, then rebuild the index from the Control Panel.
The 4096 can be adjusted to increase or decrease the length of the summary. The summary length is measured in characters.
The default size is 1024. Set it to 0 to completely remove the summary.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by
<config>
......
<indexer>
......
</indexer>
<preview-length>4096</preview-length>
</config>
is this correct?
thanks!
Also, the <preview-length> line must go inside the <indexer> section, not after it.