# INDXBIB - make inverted index for bibliographic databases - man - [phpMan]

[_indxbib_(1)](https://www.chedong.com/phpMan.php/man/indxbib/1/markdown)                             General Commands Manual                            [_indxbib_(1)](https://www.chedong.com/phpMan.php/man/indxbib/1/markdown)

## Name
       indxbib - make inverted index for bibliographic databases

## Synopsis
       **indxbib **[**-w**] [**-c **_common-words-file_] [**-d **_dir_] [**-f **_list-file_] [**-h **_min-hash-table-size_]
               [**-i **_excluded-fields_] [**-k **_max-keys-per-record_] [**-l **_min-key-length_] [**-n **_threshold_]
               [**-o **_file_] [**-t **_max-key-length_] [_file_ ...]

### indxbib --help

### indxbib -v
### indxbib --version

## Description
       _indxbib_  makes  an  inverted  index for the bibliographic databases in each _file_ for use with
       [_refer_(1)](https://www.chedong.com/phpMan.php/man/refer/1/markdown), [_lookbib_(1)](https://www.chedong.com/phpMan.php/man/lookbib/1/markdown), and [_lkbib_(1)](https://www.chedong.com/phpMan.php/man/lkbib/1/markdown).  Each created index is named file_.i_; writing is done to a
       temporary file which is then renamed to this.  If no _file_ operands are given on  the  command
       line  because the **-f **option has been used, and no **-o **option is given, the index will be named
       _Ind.i_.

       Bibliographic databases are divided into records by blank lines.  Within a record, each field
       starts with a **% **character at the beginning of a line.  Fields have a  one  letter  name  that
       follows the **% **character.

       The  values  set by the **-c**, **-l**, **-n**, and **-t **options are stored in the index: when the index is
       searched, keys will be discarded and truncated in a manner appropriate to these options;  the
       original  keys will be used for verifying that any record found using the index actually con‐
       tains the keys.  This means that a user of an index need not know whether these options  were
       used  in  the  creation of the index, provided that not all the keys to be searched for would
       have been discarded during indexing and that the user supplies at least the part of each  key
       that  would have remained after being truncated during indexing.  The value set by the **-i **op‐
       tion is also stored in the index and will be used in verifying records found using the index.

## Options
       **--help **displays a usage message, while **-v **and **--version **show version  information;  all  exit
       afterward.

### -c 
              Read  the  list  of  common  words from _common-words-file_ instead of _/usr/share/groff/_
              _1.23.0/eign_.

### -d 
              by  [_getcwd_(2)](https://www.chedong.com/phpMan.php/man/getcwd/2/markdown).   Typically,  _dir_  will  be a symbolic link whose target is the current
              working directory.

### -f 
              Read the files to be indexed from _list-file_.  If _list-file_ is **-**, files  will  be  read
              from the standard input stream.  The **-f **option can be given at most once.

### -h 
              Use  the  first prime number greater than or equal to the argument for the size of the
              hash table.  Larger values will usually make searching faster, but will make the index
              file larger and cause _indxbib_ to use more memory.  The default hash table size is 997.

### -i 
              Don't index the contents of fields whose names are in  _excluded-fields_.   Field  names
              are  one character each.  If this option is not present, _indxbib_ excludes fields **X**, **Y**,
              and **Z**.

### -k 
              Use no more keys per input record than specified in the argument.  If this  option  is
              not present, the maximum is 100.

### -l 
              Discard  any key whose length in characters is shorter than the value of the argument.
              If this option is not present, the minimum key length is 3.

### -n 
              Discard the _threshold_ most common words from the common words file.  If this option is
              not present, the 100 most common words are discarded.

### -o 
              Name the index basename_.i_.

### -t 
              Truncate keys to _max-key-length_ in characters.  If this option is  not  present,  keys
              are truncated to 6 characters.

### -w     

## Files
       file_.i_ index for _file_

       _Ind.i_  default index name

       _/usr/share/groff/1.23.0/eign_
              contains  the  list of common words.  The traditional name, “_eign_”, is an abbreviation
              of “English ignored [word list]”.

       _indxbib_XXXXXX
              temporary file

**See also**
       “Some Applications of Inverted Indexes on the Unix System”, by M. E. Lesk,  1978,  AT&T  Bell
       Laboratories Computing Science Technical Report No. 69.

       [_refer_(1)](https://www.chedong.com/phpMan.php/man/refer/1/markdown), [_lkbib_(1)](https://www.chedong.com/phpMan.php/man/lkbib/1/markdown), [_lookbib_(1)](https://www.chedong.com/phpMan.php/man/lookbib/1/markdown)

groff 1.23.0                                31 March 2024                                 [_indxbib_(1)](https://www.chedong.com/phpMan.php/man/indxbib/1/markdown)
