The text search function is used to search for documents
that contain a specified word or phrase that is not already defined
as an index field for the documents. Initially, the specified index
field values are used for the document search. Then, any document
that matches the index fields criteria is searched for the specified
text search word or phrase. For example, if the other index fields
are date and account number, only documents that match the specified
date and account number are searched for the specified text search
word or phrase. Then, if a document contains the specified word or
phrase, the document is added to the document list.
- You can define only one text search field per folder.
- The only valid search operator for a text search field is EQUAL.
- Wildcards and pattern matching are not supported in a text search
field.
- The case of the specified word or phrase is ignored. For example,
the phrase customer xyz matches customer xyz, Customer
Xyz, and CUSTOMER XYZ.
The text search function is performed entirely on the IBM® i server. Any performance impact
will depend on the size and number of documents that are searched
and on the performance of the system under the pre-existing workload.
To limit the number of documents that are searched, users should specify
criteria for some or all of the other index fields.
To create a text search field folder definition:
- Create the application group, application, and folder by using
the Report Wizard. (The Report Wizard does not include a provision
for creating a text search field. However, doing so can be accomplished
in just a few steps outside the Report Wizard.)
- Copy the folder.
- On the Field Definition tab, add a field named Full Text Search
and select Text Search for the field type. Click the Add button to
add the field.
- Click OK to update the folder.
After archiving some documents into the application group, you
can try the text search function.
You may want to set a number of options within the Content
Manager
Content Manager OnDemand Windows client to enhance the use of text search:
- From the Options menu, select the Show Search String option. This
option causes the text search string that you enter to be highlighted
within the document after it is opened.
- If the Autoview option is set to either First Document or Single
Document, the document automatically displays with the text search
string highlighted. Single Document will cause the document to automatically
display if only one document meets the search criteria. First Document
always causes the first document in the document list to automatically
display, not matter how many documents meet the search criteria.
When you are ready to try your text search field, open
the folder that contains the text search field and perform a text
search. The text search string can be one or more words. Open one
of the documents from the document list. The text search string should
be highlighted in the document. You can use the Find Next toolbar
button to find the next occurrence of the string in the document.
Note that you can still perform standard searches with the folder;
you do not have to specify a text search every time that you search
for documents.
To use the text search function with AFP or SCS-Extended documents, you
must have the Portable Application Solutions Environment (PASE; a
product option of IBM i) installed.
If PASE is not installed, you will receive message 161 in the Content Manager OnDemand
system log when attempting to perform a text search on AFP or SCS-Extended
documents. To use the text search function with SCS or Line documents,
you do not need PASE.