UseStubXML
The UseStubXML
parameter specifies whether to read stub XML documents and merge the metadata they contain into the document for the corresponding file. You can use stub XML documents to add additional metadata to the documents that are created by the connector.
TIP: A stub XML document must be in the same directory as its corresponding file, but with an .xml
extension. For example, a stub for the file document.pdf
would be named document.pdf.xml
. The stub must contain a DREREFERENCE
field, as in the following example.
<?xml version="1.0" encoding="utf-8"?> <DOCUMENT> <DREREFERENCE>My File</DREREFERENCE> <my_field>my_value</my_field> <my_other_field>my_other_value</my_other_field> </DOCUMENT>
You cannot set both UseStubIDX=TRUE
and UseStubXML=TRUE
.
Type: | Boolean |
Default: | False (stub XML files are indexed as separate documents) |
Required: | No |
Configuration Section: | TaskName or FetchTasks |
Example: | UseStubXML=True
|
See Also: | UseStubIDX |