-
Notifications
You must be signed in to change notification settings - Fork 1
schema
abhinav-upadhyay edited this page Aug 8, 2011
·
2 revisions
There are three tables in the database at present:
-
mandb:
This is the main FTS table which contains all the content from man pages
Column Name Description
1. section Section number of the page
2. name The name of the page
3. name_desc The one line description from the NAME section
4. desc Contains the content from DESCRIPTION section and any
other section which is not indexed in a separate column.
5. lib The LIBRARY section
6. synopsis SYNOPSIS section
7. return_vals RETURN VALUES section
8. env ENVIRONMENT section
9. files FILES section
10. exit_status EXIT STATUS section
11. diagnostics DIAGNOSTICS section
12. errors ERRORS section
-
mandb_md5:
This table contains md5 hashes of all the indexed man pages. This is there to make sure we do not index the same man page twice , i.e. to prevent indexing hardlinks.
It has a single column only: md5_hash -
mandb_links:
This is a work under progress. Basically I want to create an index of all the hard/soft links of the man pages. The list of the linked pages is usually obtained from the multiple .Nm entries in the page.
1. link The name of the hard/soft link
2. target Name of the target page to which it points
3. section The section number
4. machine The machine architecture (if any) for which the page is relevant