System.Object
SearchRequestType
RepositorySearch
- Client Declaration
public class RepositorySearch
Represents an ad-hoc query of a single object store
or a merged scope over multiple object stores. This element is used
in an
ExecuteSearch request.
Element Structure
- Elements
SearchScopeType SearchScope:
[request] Optional element specifying the type of search scope.
String SearchSQL: [request] Optional element
specifying a SQL string for the search. Note that you cannot specify
a multi-valued property in a SQL query unless you include it in the
left-hand operand of a LIKE operator or an IN operator (properties
of list cardinality only). For more information about IBM® Content Cortex SQL syntax, see SQL Syntax Reference .
- Attributes
RepositorySearchModeType repositorySearchMode:
[request] Optional expression specifying whether rows or objects are
searched. If this attribute is not specified, the default search mode
is row search. (Only row search is supported for this release.)
- Attributes Specific to .NET Clients
Boolean repositorySearchModeSpecified:
Optional expression specifying whether repositorySearchMode has
a value (true) or not (false).
Base Element Inheritance
- Elements
PropertyFilterType SelectionFilter:
[request] Optional element specifying a property filter to be applied
to the elements of the result set.
- Attributes
Boolean continuable: [request] Optional
expression specifying whether the client requires paging and continuation
capability for this search (true) or not (false).
If this attribute is false, the maxElements attribute
is ignored.
String continueFrom: [request] Optional
expression specifying the value of CollectionTerminator element
from a previously returned page. This value indicates the start point
of the current page.
Int32 maxElements: [request] Optional
expression specifying the page size for the currently requested page
of a continuable query. This attribute is ignored if the continuable attribute
is false. If this attribute is omitted or a value
of -1 is specified, the default page size will apply (the QueryPageDefaultSize property
value of a ServerCacheConfiguration object).
- Attributes Specific to .NET Clients
Boolean continuableSpecified: Optional
expression specifying whether continuable has a value
(true) or not (false).
Boolean maxElementsSpecified: Optional
expression specifying whether maxElements has a value
(true) or not (false).
XML Schema
<xsd:complexType name="RepositorySearch">
<xsd:complexContent>
<xsd:extension base="SearchRequestType">
<xsd:sequence>
<xsd:element name="SearchScope" type="SearchScopeType"/>
<xsd:element name="SearchSQL" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="repositorySearchMode" type="RepositorySearchModeType"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>