Confirm an index definition already exists
The Index Definition document defines values that are stored or indexed for use in views or in searches.
Before you make any modifications to the Index Definition document, examine it to determine if an index definition already exists.
In addition to the indexes defined in the Index Definition document, IXIA CCMS also contains a number of system properties whose values can be configured to be displayed in the views. Although the system properties do not have to be defined as an index, they do need to be defined in a summary in the Index Definition document.
Summaries improve the performance of your applications by allowing selected document data to be indexed as a set, so that when a search is carried out, instead of performing multiple read operations, TEXTML Server retrieves a set of document data in a single operation.
The following properties are available by default:
Property | Description | Example |
---|---|---|
Collection |
The collection to which the document belongs.
|
/Documents/ |
CreatedBy |
The username of the person who imported the document.
|
smithj |
CreationDate |
The date the document was imported into the docbase.
|
2019-09-14 |
CreationTime |
The time the document was imported into the docbase.
|
13:32:06 |
DocType |
Whether the document is a user document or a system
document (TEXTML_DOCUMENT or SYSTEM_DOCUMENT, respectively).
|
TEXTML_DOCUMENT |
Indexable |
Boolean indicating whether indexing has been enabled
for the document.
|
false |
LockComment |
Comment pertaining to the lock.
|
|
LockedBy |
Username of the person who checked out the document.
|
jjones |
LockedDate |
Date the document was checked out.
|
2019-10-18 |
LockedTime |
Time the document was checked out.
|
14:53:04 |
LockOwner |
If true, the document was checked out directly; if
false, it was checked out indirectly by checking out its parent
collection.
|
true |
MimeType |
A two-part identifier for file formats on the
Internet, used by applications calling TEXTML Server. The default value,
application/octet_stream, identifies files not associated with a
specific application.
|
application/octet_stream |
ModificationDate |
Date the document was last saved.
|
2019-09-14 |
ModificationTime |
Time the document was last saved.
|
13:32:06 |
ModifiedBy |
Username of the person that last modified the
document.
|
rsmith |
Name |
The file name of the document.
|
eoq1453833968759.xml |
Size |
Size of the document, in bytes.
|
15558 |
StorageType |
The document format in the docbase.
|
BINARY |
Version |
Version number assigned by TEXTML Server.
|
1 |
PreviousVersionsCount |
Number of previous versions of the document.
Only available if TEXTML Server is configured with
|
0 |
PreviousVersionsSize |
Total size (in bytes) of the previous version.
Only available if TEXTML Server is configured with
|
0 |
To confirm an index definition already exists:
-
Open the TEXTML Administration perspective by clicking the
TEXTML Administration shortcut on the
tool bar. If the shortcut is not displayed, follow these steps:
- Select
- Click TEXTML Administration.
- Click Open.
- In the TEXTML Administration view, double-click the server.
-
If your server is not displayed in the view, add it by doing
the following:
- When the Connect as dialog opens, type your username and password and click OK.
- Double-click the name of your Content Store to open a connection to it.
- Expand the Content Store node.
- Double-click Index Definition to open it in the editor.
-
Look in the
<summaries>
section to see if the system property or index you need is listed.- If it is listed, then you can use it to configure CCMS.
- If the system property is not listed, then you will need to edit the
Index Definition document to add it to the
<summaries>
section. - If the index is not listed, then you need to determine if it has been defined.
-
To see if the index you need is defined, look for it in the
<indexes>
section. The index must be defined and set asKEEPEXTRACTEDVALUES="True"
to enable its values to be listed.- If the index is defined but is set as
KEEPEXTRACTEDVALUES="False"
, you must edit the Index Definition document to set the index's attribute to "True". - If the index is defined but does not appear in the
<summaries>
section, you must edit the Index Definition document to add it to a summary. - If the index is not defined, you will have to create it.
- If the index is defined but is set as