Reputation: 4443
I am not very familiar with sharepoint so probably this can be builtin function or something....
I have 200 sites and i need really fast search inside documents and pages.
What is the best way to perform search and cache some items?
Upvotes: 2
Views: 1551
Reputation: 14880
This is no simple task with pitfalls you should be aware of:
Use paging to avoid returning the whole set:
using Microsoft.Office.Server.Search.Query;
// ...
Query query = new FullTextSqlQuery(site);
query.StartRow = x;
query.RowLmit = 10;
Check out our product MatchPoint. MatchPoint is a application framework for SharePoint that includes a set of web parts providing the functionality you require for this task.
Upvotes: 4
Reputation: 2565
Take a look at this:
Getting started with enterprise search in SharePoint 2010 Products (white paper)
Upvotes: 2