Was this page helpful?

Change the length of the summary for search results

    Table of contents
    No headers

    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.

    Was this page helpful?
    Tag page
    Viewing 3 of 3 comments: view all
    I tried it but did not work. this is how I put it:
    <config>
    ......
    <indexer>
    ......
    </indexer>
    <preview-length>4096</preview-length>
    </config>
    is this correct?
    thanks!
    Posted 07:32, 16 Apr 2009
    This didn't work for me either on MindTouch Deki Open Source Edition v.8.08.2.
    Posted 13:20, 17 Jun 2009
    You need to restart the Dekiwiki, and then rebuild the index for it to work.

    Also, the <preview-length> line must go inside the <indexer> section, not after it.
    Posted 08:40, 10 Aug 2009
    Viewing 3 of 3 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by