This method returns the previous or next page of data from an existing Gsa search.
Parameters: XmlRequest
<GsaSearchResultRequest Url="[Previous or Next Result Url]" />
- Url is required. This url is supplied in an existing Gsa search if there is addtional pages or previous pages of data. The value supplied should be passed in as is.
Sample Template
http://external.ws.staywell.com/[SiteName]/content.svc/GsaSearchResult?xmlRequest=<GsaSearchResultRequest Url="%2fsearch%3fq%3dheart%26amp%3bnum%3d25%26amp%3bsite%3ducr_documents%26amp%3blr%3d%26amp%3bie%3dUTF-8%26amp%3boe%3dUTF-8%26amp%3boutput%3dxml_no_dtd%26amp%3bclient%3ddefault_frontend%26amp%3baccess%3dp%26amp%3bsort%3ddate%3aD%3aL%3ad1%26amp%3brequiredfields%3dswiSiteName%3a[SiteName]%26amp%3bstart%3d25%26amp%3bsa%3dN%26amp%3bfilter%3d0"/>
Sample Result XML
Result could very with each call even if the identical call is made.
<GsaSearchResults>
<HasSpellingSuggestion>false</HasSpellingSuggestion>
<TotalResults>3650</TotalResults>
<PreviousResultsUrl>%2fsearch%3fq%3dheart%26amp%3bnum%3d100%26amp%3bsite%3ducr_documents%26amp%3blr%3d%26amp%3bie%3dUTF-8%26amp%3boe%3dUTF-8%26amp%3boutput%3dxml_no_dtd%26amp%3bclient%3ddefault_frontend%26amp%3baccess%3dp%26amp%3bsort%3ddate%3aD%3aL%3ad1%26amp%3brequiredfields%3dswiSiteName%3a[SiteName]%26amp%3bstart%3d100%26amp%3bsa%3dN%26amp%3bfilter%3d0</NextResultsUrl>
<NextResultsUrl>%2fsearch%3fq%3dheart%26amp%3bnum%3d100%26amp%3bsite%3ducr_documents%26amp%3blr%3d%26amp%3bie%3dUTF-8%26amp%3boe%3dUTF-8%26amp%3boutput%3dxml_no_dtd%26amp%3bclient%3ddefault_frontend%26amp%3baccess%3dp%26amp%3bsort%3ddate%3aD%3aL%3ad1%26amp%3brequiredfields%3dswiSiteName%3a[SiteName]%26amp%3bstart%3d100%26amp%3bsa%3dN%26amp%3bfilter%3d0</NextResultsUrl>
<AdWords>
<AdWord Title="What is Asthma?" Url="http://www.Asthma.com" />
</AdWords>
<Results>
<GsaResultItem Title="<b>Heart</b> Failure" Blurb="<b>Heart</b> Failure <b>Heart</b> failure, also called congestive <b>heart</b> failure, is a<br>
condition in which the <b>heart</b> cannot pump enough blood <b>...</b> " Language="en" ItemNumber="1" IsUcrContent="true" ContentTypeId="85" ContentId="P00206" IsCustom="false"/>
<GsaResultItem Title="Glossary - Cardiovascular Disorders" Blurb="<b>...</b> Ablation also refers to a procedure that eliminates extra electrical pathways<br>
within the <b>heart</b> that cause fast or irregular <b>heart</b> rhythms. <b>...</b> " Language="en" ItemNumber="2" IsUcrContent="true" ContentTypeId="90" ContentId="P01793" IsCustom="false"/>
</Results>
</GsaSearchResults>