Getting help

Verity Search gives wrong results or does not work

If, after many updates to the search index, searching seems to not be working or giving wrong results, you might need to rebuild the search indexes from scratch. To do this, as root:

  1. Remove the entire search index directory:

    rm -rf /usr/lib/scohelp/LANG/_SearchIndex

    LANG is the language directory, such as en_US.ISO8859-1 or fr.

  2. Remove the topic .titles files

    find /usr/lib/scohelp/LANG -name '*.titles' -exec rm -f {} \;

    The config_help(1M) command will not regenerate the .vbi files unless the .titles file changes (or is removed).

  3. Remove the man section titles files:

    rm -f /usr/lib/scohelp/LANG/man/.SectionData/titles/*

    The config_man(1M) command will not regenerate the .vbi files unless the titles files change (or are removed).

  4. Run the following ODSSI commands:

    /usr/man/bin/config_help -n -LLANG
    /usr/man/bin/config_man -n -LLANG
    /usr/man/bin/config_search -f -LLANG


    NOTE: The config_search(1M) command might take a long time to complete because it reindexes the entire language collection.

    These commands recreate the _SearchIndex directory, rescan all the HTML files, and rebuild the search index for the specified language.

    After running config_help and config_man, the _SearchIndex/Insert file should contain .vbi files. Once you run config_search, the files should be in the _SearchIndex/Indexed directory.


Next topic: ODSSI tools errors
Previous topic: SCOhelp not indexed

© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999