Oracle® Secure Enterprise Search Administration API Guide 11g Release 2 (11.2.2) Part Number E23428-01 |
|
|
PDF · Mobi · ePub |
This object identifies the default document types that are defined for each new source.
Object Type
Universal
Object Key
NAME
Object Key Command Syntax
--NAME=object_name -n object_name
State Properties
None
Supported Operations
export update
Administration GUI Page
None
XML Description
The <search:documentTypes>
element describes the default document types:
<search:documentTypes> <search:documentType> <search:mimeType>
Element Descriptions
Contains one or more <search:documentType>
elements.
Contains a <search:mimeType>
element.
Contains a supported MIME type, as described in Table 2-1, "Document Formats". These MIME types are defined by default:
application/msword application/pdf application/x-msexcel application/x-mspowerpoint text/html text/plain
Example
This XML document describes the default global document types:
<?xml version="1.0" encoding="UTF-8"?> <search:config productVersion="11.2.1.0.0" xmlns:search="http://xmlns.oracle.com/search"> <search:globalDocumentTypes> <search:documentTypes> <search:documentType> <search:mimeType>text/html</search:mimeType> </search:documentType> <search:documentType> <search:mimeType>text/plain</search:mimeType> </search:documentType> <search:documentType> <search:mimeType>application/msword</search:mimeType> </search:documentType> <search:documentType> <search:mimeType>application/pdf</search:mimeType> </search:documentType> <search:documentType> <search:mimeType>application/x-msexcel</search:mimeType> </search:documentType> <search:documentType> <search:mimeType>application/x-mspowerpoint</search:mimeType> </search:documentType> </search:documentTypes> </search:globalDocumentTypes> </search:config>