Class: SearchQuery

SearchQuery Class

Represents a search request.

Namespace

ITHit.WebDAV.Client

new ITHit.WebDAV.Client.SearchQuery(sSearchPhrase)

SearchQuery
Name Type Description
sSearchPhrase string Search phrase.

Members

EnableContains :boolean

EnableContains
Enables or disables search inside file content. Default is true.

EnableLike :boolean

EnableLike
Enables or disables search by properties specified in LikeProperties list. Default is true.

LikeProperties :Array.<ITHit.WebDAV.Client.PropertyName>

LikeProperties
List of properties to be used in like conditions. The search phrase will be searched in the properties specilied in this list.

Phrase :string

Phrase
Search phrase.

SelectProperties :Array.<ITHit.WebDAV.Client.PropertyName>

SelectProperties

Properties to be returned from server with each item returned in search results.

This property can be used to request any additional data required in search results, such as snippet of text around the search phrase, document title, author name, etc.