Share via


Trigger Element (Location Definition)

Specifies constraints for the federated search location.

<Trigger>string</Trigger>

Attributes

Attribute Description

None

Not applicable

Child Elements

None.

Parent Element

OpenSearchDescription Element (Location Definition)

Remarks

There are two types of triggers:

  • Prefix The query must match the specified prefix. If the constraint specified is for a prefix match, the IsPrefixPattern Element (Location Definition) element is required, and must be set to true.

  • Regex The query must match the specified regular expression pattern.

Only search queries matching the specified pattern are forwarded to the federated search location.

Optional: Yes

xmlns: "https://schemas.microsoft.com/Search/2007/location"

See Also

Concepts

Federated Search Overview