Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

setting results per page? - SearchUnit - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
jrcarr
#1 Posted : Tuesday, October 17, 2017 4:44:31 PM
Rank: Member

Groups: Registered

Joined: 10/12/2017
Posts: 17
I know I'm just overlooking this somewhere. But surely there is a way to set the number of results per page, either in the Asp.net forms and/or the JavaScript version. Thanks
Dan
#2 Posted : Tuesday, October 17, 2017 5:27:09 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 10/20/2004
Posts: 456
Hi. Thanks for posting.

Yes, you can set the number of results per page...

with JavaScript, use resultsPerPage like this
keyotiSearch.resultsPerPage = 3;

with the ASP.NET control use the NumberOfResultsPerPage property of SearchResult control.

Please let me know if you have any trouble at all.

Dan
Keyoti
Dan Wright
jrcarr
#3 Posted : Tuesday, October 17, 2017 5:31:14 PM
Rank: Member

Groups: Registered

Joined: 10/12/2017
Posts: 17
Thanks Dan!
Do you mind telling me were in the documentation I would have found that. I assume there would be other things there for me to use and learn from as well. Thanks again.
Dan
#4 Posted : Tuesday, October 17, 2017 7:49:13 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 10/20/2004
Posts: 456
Sure. The documentation covers so much that it can sometimes take a bit of time to find what you're looking for.


You can view the full JavaScript API via the documentation. The API on keyotiSearch covers displaying the search results. Here's a direct link to that specific page.



Details on customizing the SearchResult control can be found on this page from the documentation.




Although this doesn't cover your initial question, you might be interested in the following Tutorial which shows different ways of improving the results summaries.



Dan
Dan Wright
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.