Partilhar via


Location Definition File Schema Reference

This content is subject to the terms of the Creative Commons Attribution-ShareAlike 2.5 License.

In Microsoft Search Server 2008, the federated search location configuration details are specified in a location definition (.fld) file. The Location Definition File Schema extends the OpenSearch description document specification.

Syntax

<OpenSearchDescription
xmlns=http://a9.com/~/spec/opensearch/1.1/
xmlns:ldf=”https://schemas.microsoft.com/Search/2007/location”>
  <ShortName>string</ShortName>
  <Description>string</Description>
  <Language>LCID</Language>
  <Url type=”application/sharepoint+xml” template={searchTerms}”/>
  <ldf:InternalName>string</ldf:InternalName>
  <ldf:LocationType>type</ldf:LocationType>
  <ldf:Version>version number</ldf:Version>
  <ldf:IsPrefixPattern>true|false</ldf:IsPrefixPattern>
  <ldf:Trigger>string</ldf:Trigger>
  <ldf:ConnectionUrlTemplate>url</ldf:ConnectionUrlTemplate>
  <ldf:MoreLinkTemplate>url</ldf:MoreLinkTemplate>
  <ldf:CreationDate>date</ldf:CreationDate>
  <ldf:LastModifiedDate>date</ldf:LastModifiedDate>
  <ldf:IsRestricted>true|false</ldf:IsRestricted>
  <ldf:AllowedSiteCollectionGuids>string</ldf:AllowedSiteCollectionGuids>
  <ldf:Visualization name="string">
    <Xsl>...</Xsl>
    <Properties>...</Properties>
    <SampleData>string</SampleData>
  </ldf:Visualization>
</OpenSearchDescription>

Elements

Following are the elements in the Location Definition File Schema.

Name

OpenSearchDescription

ShortName

Description

Language

Url

InternalName

LocationType

Version

IsPrefixPattern

Trigger

ConnectionUrlTemplate

MoreLinkTemplate

CreationDate

LastModifiedDate

IsRestricted

AllowedSiteCollectionGuids

Visualization

Xsl

Properties

SampleData

See Also

Concepts

Federated Search Overview [Search Server 2008]

Other Resources

OpenSearch Specification