Paging results from openSearch source

Hi

I have created a result source and connected it to an aspx page that I have created which gets a search phrase as parameter and renders results in OpenSearch 1.1 protocol.

Im displaying the results in a search center with OOTB search webparts.

Basically everything works ok besides 2 things:

1. The search results paging doesnt work. when I click on a page in the paging links i can see the request arrives to my aspx page but no indication for the requested page is shown

2. The search results from the result source i have created are halted if it takes more than 15 seconds to render the results, is there any way to change this interval? from the log i can see its a webrequest timeout but couldnt find the place to modify it.

Thanks in advance,

Yuval

December 12th, 2013 8:21am

I'm not sure about paging, but it doesn't look like the Core Results Web Part allows you to set the timeout limit. If you were returning the results via code, you could use the following property: http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.query.querymanager.timeout(v=office.15).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1
Free Windows Admin Tool Kit Click here and download it now
December 13th, 2013 3:55am

In order to pass the current page and amount of results you need to use the following tokens:

{ItemsPerPage}
{StartITem}

and add them to the proxy url as follows:

http://<federated Search addrex>?itemIndex={StartITem}&numberofitems={ItemsPerPage}

HTH

Yuval

  • Marked as answer by Yuval Korin Thursday, June 05, 2014 9:38 PM
June 5th, 2014 9:38pm

In order to pass the current page and amount of results you need to use the following tokens:

{ItemsPerPage}
{StartITem}

and add them to the proxy url as follows:

http://<federated Search addrex>?itemIndex={StartITem}&numberofitems={ItemsPerPage}

HTH

Yuval

  • Marked as answer by Yuval Korin Thursday, June 05, 2014 9:38 PM
Free Windows Admin Tool Kit Click here and download it now
June 5th, 2014 9:38pm

In order to pass the current page and amount of results you need to use the following tokens:

{ItemsPerPage}
{StartITem}

and add them to the proxy url as follows:

http://<federated Search addrex>?itemIndex={StartITem}&numberofitems={ItemsPerPage}

HTH

Yuval

  • Marked as answer by Yuval Korin Thursday, June 05, 2014 9:38 PM
June 5th, 2014 9:38pm

In order to pass the current page and amount of results you need to use the following tokens:

{ItemsPerPage}
{StartITem}

and add them to the proxy url as follows:

http://<federated Search addrex>?itemIndex={StartITem}&numberofitems={ItemsPerPage}

HTH

Yuval

  • Marked as answer by Yuval Korin Thursday, June 05, 2014 9:38 PM
Free Windows Admin Tool Kit Click here and download it now
June 5th, 2014 9:38pm

I know this thread is old, but in case anyone else comes across this, I just wrote up a blog post documenting the OpenSearch URL tokens and what's needed for paging support:

http://sharepointtaproom.com/2015/02/28/sharepoint-opensearch-url-tokens/

February 28th, 2015 7:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics