List indexes
The List Indexes feature helps the administrator inspect how objects (documents, folders, emails, and records) are indexed by the Lucene search engine.
On the main screen, a table shows the Lucene-indexed fields of each object.
Common indexed fields:
| Field | Description |
|---|---|
| # | Row number |
| _hibernate_class | The Hibernate class name: - com.openkm.db.bean.NodeFolder - com.openkm.db.bean.NodeDocument - com.openkm.db.bean.NodeMail - com.openkm.db.bean.NodeRecord |
| uuid | Object’s unique identifier. |
| parent | Parent node. |
| context | Context values: - okm_root - okm_metadata - okm_categories - okm_thesaurus - okm_templates - okm_personal - okm_mail - okm_trash |
| tenant | Tenant identifier. |
| author | ID of the author. |
| created | Date the object was created. |
| name | Object name. |
| userPermission | User permissions. |
| rolePermission | Role permissions. |
Search indexes
Section titled “Search indexes”- On the top right, click on
Search indexes button. - In the input box, paste an object’s UUID (available in the Properties tab when an object is selected in the desktop view).
- Click the Search button.
- From the table list, click on
List icon.
The following examples illustrate how the filter syntax works. Given two documents called “Parana.doc” and “Parana.pdf”, they can be located with:
name:paran*Using quotation marks will return no results, because wildcards inside quotes are not supported:
name:"paran*"To locate all PDF documents whose names start with “Paran”, use:
name:paran*pdfThis equivalent query also works (note the dot before the extension):
name:paran*.pdfThe following query is invalid because wildcards cannot be used as the first character of a search. This is a Lucene limitation:
name:*pdfTo search by file extension, using the MIME type property is recommended:
mimeType:application/pdfThe following query finds all documents whose names start with “parana” and that have a keyword called “song”:
name:parana* AND keyword:songYou can learn more about query syntax at Lucene Query Syntax.
Enable show terms
Section titled “Enable show terms”When show terms is enabled, extra fields named terms are shown on document objects with the terms used by the Lucene search engine to index that document.
- On the top right, click on
Show terms button.
Disable show terms
Section titled “Disable show terms”- On the top right, click on
Show terms button.