Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Document Descriptions empty in Search results using Query

$
0
0
Sorry I didn't get back to you faster on this.

I believe that the Query Web Services is only going to pass back values for Managed Properties. You can specify which you'd like returned like so:
var queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>";
queryText += "<Query>";
queryText += "<Context>";
queryText += "<Range><Count>50</Count></Range>";
queryText += "<QueryText language='en-US' type='STRING'>";
queryText += "foo"; 
queryText += "</QueryText>";
queryText += "<Property name='Description' ></Property>";
queryText += "</Context>";
queryText += "</Query>";
queryText += "</QueryPacket>";
See http://msdn.microsoft.com/en-us/library/websvcsearch.queryservice.query(v=office.14).aspx

M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles