Inverting Text

This document covers the following topics:


General Information

Before searching for documents or reference documents containing a specific text string, the document must be inverted in Con-nect. Con-nect Text Retrieval automatically inverts all documents and reference documents that are filed in a TRS folder according to the inverting rules of that folder.

When a document is inverted, the system first verifies whether the document text does not exceed the maximum length (determined by your administrator) that can be inverted online. If it does not, the document is inverted immediately and filed in the requested TRS folder.

If the document text exceeds the maximum length, the document is moved to the system folder TRS-XXL and inverted when your administrator runs the batch utility "Invert Long Documents" (see the Con-nect Utilities documentation for further information).

While the document is stored in the TRS-XXL system folder, you can continue to access and update it. Once the utility is run, the document is inverted and moved back to the original folder or, if specified, a new TRS folder.

Note:
Even though the modifications may result in shortening the document, the document is not inverted and moved to the specified TRS folder until the "Invert Long Documents" utility is run.

Commands Which Initiate the Inversion Process

A TRS document is not inverted every time you access it. Rather, only a few commands initiate the inversion process with certain commands inverting different sections of the document or reference document. The following table illustrates those commands and the sections of the document or reference document which are inverted (depending upon the inversion rules of the folder):

Command Document Reference Document
ADD All sections (i.e. description, keywords, author, document name and document text) are inverted. All sections (i.e. description, keywords, writer and title) are inverted.
COPY All sections are inverted. All sections are inverted.
ERASE You can no longer retrieve a document which has been erased. You can no longer retrieve a reference document which has been erased.
FILE All sections are inverted (applies only when the new folder is also a TRS folder). All sections are inverted (applies only when the new folder is also a TRS folder).
IMPORT All sections are inverted.  
INFO If modified, the description, keywords, author and/or document name are inverted. The document length is not checked (therefore a long document is not moved to folder TRS-XXL).  
MODIFY The document text is inverted whenever you issue SAVE or any other Con-nect command to leave the editor (except ABANDON). All sections are inverted.
QUIT The document text and the author are inverted.  
SAVE The document text and the author are inverted.  
TRANSLATE All sections are inverted.  

Caution:
To save CPU time, do not issue the SAVE or QUIT command if the TRS document has not been modified or if you do not want to save the modifications. Rather, issue the ABANDON command. Issuing the SAVE or QUIT command always inverts the document.

Information Which is Inverted

The following table illustrates the information within a document or reference document which may be inverted (depending upon the command issued and the inversion rules of the folder):

  Document Reference Document
Text For a Txt or Cnf document the text is inverted. For all other document formats, the text is not inverted. Not applicable.
Description The description that has been specified for the document is inverted. The description that has been specified for the reference document is inverted.
Keyword The keywords that have been specified for the document are inverted. The keywords that have been specified for the reference document are inverted.
Writer/Author The author's user ID and last name are inverted. If the document is modified, the modifier's user ID and last name are also inverted. The writer that has been specified for the reference document is inverted.
Title/Name The document name is inverted. If a document name is not specified, the first line of the description is inverted. The title that has been specified for the reference document is inverted.