Remember, at the and of query with _vti_bin/spsearch.asmx insert the magic { –}
string qXMLString = "<QueryPacket xmlns='urn:Microsoft.Search.SpQuery'>" +
"<Query>" +
"<Context><QueryText language=\"en-US\" type=\"MSSQLFT\">SELECT Title, Path, Description, Write, Rank, Size FROM Scope() WHERE FREETEXT(DEFAULTPROPERTIES,'" +
TextBox1.Text + "') ORDER BY Rank --</QueryText></Context></Query></QueryPacket>";
No comments:
Post a Comment