view wiki/config/more_samples/xapian_wikiconfig_snippet @ 5260:39362809a66a

wikiconfig snippet for xapian added
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 07 Nov 2009 22:04:06 +0100
parents
children aae287ac6f28
line wrap: on
line source
    # You must have Xapian itself and its Python bindings (xapian-core and xapian-bindings) 
    # from http://www.xapian.org/ at least in version 1.0.6 installed. 
    # In addition, Windows users need to install pywin32 from http://sourceforge.net/projects/pywin32/. 
    # For further help see HelpOnXapian

    # Setting this to True, enables Xapian search for your MoinMoin wiki. 
    # After setting this var you need to build the index from existing pages
    # and attachments.
    # moin --config-dir=/where/your/configdir/is --wiki-url=wiki-url/ index build --mode=add
    xapian_search = True

    # If this option is enabled, all revisions of all pages 
    # (except underlay, of which only one revision is available) are indexed. 
    # This allows users to search in older revisions of pages 
    # if enabled in the search dialogue on FindPage. 
    xapian_index_history = True

    # If enabled, words will be indexed in their raw and stemmed forms and terms    # in your search query are stemmed in your language. 
    # This means that searching for "testing" will also yield pages containing 
    # the words "tested", "tester" etc.
    xapian_stemming = False

    # This option lets you specify a non-default directory to save your index 
    # to. Initially, it gets saved to data_dir/cache/xapian/. 
    xapian_index_dir = None