Used in
REQUEST Servers
Metadata (Browse) Parent elements
SEARCH_METADATA Syntax
Description
Searches documents based on the date when the document was last updated in the Metadata Service. This date is not associated with any dates that may be present within the metadata, such as the date when the content of the metadata was last updated.
Restrictions
- At least one attribute must be specified. Both can be used. If both attributes are specified, they are automatically concatenated together with an "and" operator.
Notes
- The format for dates is YYYY-MM-DD hh:mm:ss. The year, month, and date are required. Hours, minutes, and seconds are optional.
Attribute Descriptions for UPDATED
Attribute | Usage |
---|
after | Search for documents newer than the date and time given. |
before | Search for documents older than the date and time given. |
Back to top Examples for UPDATED
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
<REQUEST>
<GET_METADATA>
<SEARCH_METADATA>
<SEARCH_METADATA>
<UPDATED after="2005-01-14"/>
</SEARCH_METADATA>
</SEARCH_METADATA>
</GET_METADATA>
</REQUEST>
</ARCXML> |
Back to top