View indexes are used to display the list of documents in a database. They are created automatically, and are kept up to date by the system UPDATE task. This means that if you create a new document, it will not appear on the index until the UPDATE task runs, or you run an update manually.
Full-text indexes are used to speed up document searches. Full-text Indexes are created manually, and are also maintained automatically by UPDATE, or by manually forcing an update. Indexes are not replicated across servers, so each replicated copy of a database needs a full-text index defined.
If you want to update a specific database full-text index, Select Files tab for the required database, then
Tools - Database - Full Text Index - Update - OK Indexes are updated automatically by the UPDATE task. You set the frequency of update in the same panel. Options are
Daily
Hourly
Immediate
Scheduled (by UPDALL server task)
To create a full-text index, select the files tab, then select Tools - Database - Full-text Index and follow the instructions on the screen.
If you index an encrypted field, other users may be able to read the encrypted text without the encryption key.
Full-text indexes are stored in a subdirectory, which is in the same directory as the main database. The subdirectory will be called databasename.ft If an index becomes corrupt
then do not delete the subdirectory manually, but use the Index tool described above to delete it.
You can also search multiple databases using a Multiple database index for example srchsite.ntf, define the search scope by specifying which databases to include then
Select Files - Tools - Database - Multi-database Index Follow the instructions shown to create a full-text index for the Search-Site database
UPDATE and UPDALL tasks
UPDATE is usually scheduled to run continuously on the server, UPDALL will be scheduled to run overnight, and can also be run on demand. The main differences between them are
UPDALL will refresh the full-test indexes on all databases, UPDATE only refreshes those which are set to immediate or hourly
UPDALL will purge deletion stubs
UPDALL can be run manually with options
UPDALL will delete unused view indexes
To run UPDALL (maybe to fix a corrupt index), enter the command
LOAD UPDALL PATH OPTIONS
from the server console. PATH is the pathname to the database or databases you want refreshed. Options include
-F only update full-text indexes
-V only update views
-X only rebuild views
-R rebuild both full-text indexes and view indexes. Use carefully, it will use loads of resource
There are loads of other options, which restrict the actions depending on database refresh settings.