jhindexer Command
The jhindexer creates a full-text search database
used by the JavaHelp system full-text search engine to
locate matches.  You can use the jhsearch command to
verify the validity of the database.
To build a full-text search database use the following commands:
Win32
jhindexer [options] [file | folder]*Solaris/SPARC
jhindexer [options] [file | folder]*If the argument is a folder, the folder is searched recursively for JavaHelp system content files.
The following options are available:
| -cfile | A configuration file name. See Config File below. | 
| -dbdir | The name of the database output
folder. By default the output folder is named JavaHelpSearchand is created in the current folder. | 
| -localelang_country_variant  | The name of the locale as described in java.util.Locale. For example:en_US(English, United States) oren_US_WIN(English,
United States, Windows variant). | 
| -logfilefile | Captures jhindexermessages in a specified file.
You can use this option to preservejhindexeroutput on Win32 machines where the console window is
dismissed after execution terminates. | 
| -nostop words | Causes stop words to be indexed in the full-text search database. | 
| -verbose | Displays verbose messages while processing. | 
You can direct the JavaHelp system's full-text search indexer to exclude certain words from the database index. These words are called stop words. By default, the indexer ignores (does not index) the following stop words when it encounters them in your help topics:
a all am an and any are as at be but by can could did do does etc for from goes got had has have he her him his how if in is it let me more much must my nor not now of off on or our own see set shall she should so some than that the them then there these this those though to too us was way we what when where which who why will would yes yet you
You can override the indexer's default stop word behavior in two ways:
-nostopwords option with the jhindexer command 
    to force the indexer to ignore stop words and to index every word in your 
    help topics. 
  config file to specify your own list of
stop words.
Config FileYou can use the config file to: 
Each of these options is described below.
You can remove and prepend portions of the topic file names as they are stored in the search database. This is useful when the path to the topic files you use during development is different from the path the help system will later use to find the topic files during searches.
 To remove a portion of the path name from all of the
indexed files:
To remove a portion of the path name from all of the
indexed files:
Add the following line to the config
file:
IndexRemove pathwhere path is the portion of the path you want removed.
For example, to change:
/public_html/JavaHelp/demo/docs/file.htmlto:
docs/file.htmladd the following line to the
config file:
IndexRemove /public_html/JavaHelp/demo/
 To prepend a different path to the indexed files:
To prepend a different path to the indexed files:
Add the following line to the config file:
IndexPrepend pathFor example, to change:
docs/file.htmlto:
my_product/install/docs/file.htmladd this line to the
config file:
IndexPrepend my_product/install/
 You can explicitly specify the names of the files you want indexed. In the 
  config file, specify the names in a list in the following format: 
    File filename
    File filename
    File filename
          .
          .
          .
 Be sure to use "/" as the file separator 
  when specifying files for indexing.
 Be sure to use "/" as the file separator 
  when specifying files for indexing. 
 You can specify your own list of stop words in the config file. When 
  you specify your own list, the indexer does not use the default 
  stop word list. You can specify a list of stop words in two ways: 
config file. Use the following 
    format: 
    StopWords word, word, word...
config file, specify the name of a file that contains a list 
    of stop words: 
    StopWordsFile filenameThe stop words file must list each stop word on its own line.
 See also:
See also:
jhsearch Command