Share via


SortSimilar Element in Microsoft.Search.Query Schema

Applies to: SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Element Information

If set to False, the result is sorted by relevance score (rank).

Default: True

For more information about the Query Web service, see Using the Query Web Service.

<SortSimilar>
   True|False
</SortSimilar>

Attributes

None.

Child Elements

None.

Parent Elements

FindSimilar Element in Microsoft.Search.Query Schema

Remarks

The sorting based on similarity is performed on the result side. Only the top 100 results are used as a basis for the sorting. This means that the 100 top-ranked results (by relevancy) are re-sorted based on similarity. The subsequent results are sorted by relevancy.

Element Information

Schema name: Microsoft.Search.Query

Applies to: QueryServiceQuery() method (Microsoft.Search.Response.Document), QueryServiceQueryEx() method (Dataset)

Optional: Yes

See Also

Reference

QueryService

Concepts

Using the Query Web Service

Walkthrough: Querying SharePoint Search From a Client Application